javascript - jQuery - Get children from index as jQuery object -


[] , .get() both return collection element @ given index native dom element. how can if want retrieve jquery object ? i'm forced convert return value using $() everytime :

var $third = $($elements.get(3)); 

and gets more horrible if have nest it. there kinf of .at() method used way :

var $third = $elements.at(3); 

thanks !

the method looking .eq()

var $third = $elements.eq(3); 

Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

css - Firefox for ubuntu renders wrong colors -