July 1998
Intermediate to advanced
1456 pages
65h 5m
English
children[ ] — NN n/a IE 4 DOM n/a
Returns an array of all first-level HTML element objects contained by
the current element. This collection differs from the
all[] collection in that it contains references
only to the immediate children of the current element (whereas the
all[] collection transcends generations). For
example, document.body.children[] might contain a
form, but no reference to form elements nested inside the form. Items
in this array are indexed (zero based) in source code order.
object.children(index).objectPropertyOrMethodobject.children[index].objectPropertyOrMethodobject.children.elementID.objectPropertyOrMethod
Read now
Unlock full access