Element.childNodes[] (Collection)

A list of object nodes within the DOM that are direct children of the node object that owns this collection.


DOM level - 1
JavaScript - 1.5
JScript - 5.0
Internet Explorer - 5.0
Netscape - 6.0
Property/method value type:ChildNodes object
JavaScript syntax:-myElement.childNodes

This is part of the internal management of the DOM that browsers use to manage the document content. There are additional nodes here that map to fragments of text in between HTML tags. So there may be more items in this array than in the children[] property.

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

Property attributes:


insert figure 0051