I\'m new to jQuery, and I\'m wondering what the difference is between jQuery\'s get() and eq() functions. I may misunderstand what the get()
get()
eq()
To build on the other answers:
$('h2').get(0) === $('h2').eq(0)[0] //true $( $('h2').get(0) ) === $('h2').eq(0) //true