Counting Child Elements using JQuery
by Francis[ Edit ] 2012-09-03 17:32:35
To count the number of child in particular tag to use following codes,
<div id="parent">
<div id="child1"></div>
<div id="child2">
<div id="child3"> </div>
<span><span>
</div>
</div>
</div>
$("#parent > div").size()