javascript - Using jQuery to get descdent nodes in DOM -
could tell me jquery equivalent of be?
var shapes=document.getelementsbytagname("shapes")[0]; thiscircle=shapes.getelementsbytagname("circle")[index];
there few ways it. here's how i'd write it:
$('shapes').first().find('circle').eq(index)
Comments
Post a Comment