How to count no of elements ?

Posted by rajesh on Stack Overflow See other posts from Stack Overflow or by rajesh
Published on 2010-06-17T04:49:10Z Indexed on 2010/06/17 4:53 UTC
Read the original article Hit count: 270

Filed under:
|

hi suppose i have

what i want is inside maindiv i want to count no of elements(may be div input tags)present. there may be use of getElementByTagName(). But the problem is that how to count element.

Thanks

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about html