dansays dansays - 1 year ago 89
jQuery Question

Getting the base element from a jQuery object

I'm struggling to find the right terminology here, but if you have jQuery object...


...is it possible to extract the base element? Meaning, the equivalent of this:


Answer Source

Yes, use .get(index). According to the documentation:

The .get() method grants access to the DOM nodes underlying each jQuery object.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download