ChildNodes object (Object/DOM)

A collection of all the children belonging to a DOM Node object.

Availability:

DOM level - 1
JavaScript - 1.5
JScript - 5.0
Internet Explorer - 5.0
Netscape - 6.0
JavaScript syntax:-myChildNodes = myElement.childNodes

This is part of the internal DOM hierarchy model in the browser. There are several tree hierarchies supported and this one maintains a tree of parent-child node relationships across the document.

See also:Element object, Element.childNodes[], Hierarchy of objects