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
Post a Comment