javascript - jQuery object array get an item as jQuery object -


i have array contains jquery selectors :

var aa = $('a'); 

when line fires, contains of aa object array filled [object htmlanchorelement], want object aa as jquery object without using :

var mynewelm = $(aa[index]); 

is possible ?

i know can use specific selector object jquery object have use aa.

use eq():

var mynewelem = aa.eq(index); 

Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -