Javascript Reference
Categories: children

javascript children length

@July 1, 2008, 3:14 p.m.
length Firefox/Netscape/NN n/a IE 4 Chrome/Safari/DOM n/a  

 

Read-only  

Returns the number of elements in the collection of children.

 
Example
 
var howMany = document.body.children.length;
 
Value

Integer.


Powered by Linode.