For example I have a function that has one argument, it can be DOM element ID or className.
How can I select only first element wrapped with jQuery?
$(value).get(0) and $(value)[0] returns just the plain DOM element, not a jQuery wrapped element.
1 Answer