Javascript Reference
Categories: children

javascript children Description

@March 15, 2008, 1:22 a.m.
childrenFirefox/Netscape/NN n/a IE 4 Chrome/Safari/DOM n/a  

  

A collection of all elements contained in the current element. Note that unlike the childNodes collection, children counts only elements and not text nodes. Collection members are sorted in source code order. Internet Explorer lets you use array notation or parentheses to access a single element in the collection.

 
Object Model Reference
 
document.getElementById("elementID").children(i)
document.getElementById("elementID").children[i]
 
Object-Specific Properties
 
length
 
Object-Specific Methods
 
item( )namedItem( )tags( )urns( )
 
Object-Specific Event Handler Properties

None.


Powered by Linode.