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

Popular posts from this blog

java - Jmockit String final length method mocking Issue -

asp.net - Razor Page Hosted on IIS 6 Fails Every Morning -

c++ - wxwidget compiling on windows command prompt -