NodeList Interface

A NodeList is an ordered collection of Nodes. Individual nodes can be accessed via an index less than the number of nodes in the list, starting with zero for the first node.

Subinterfaces:
PropertyNodeList
DOM Properties
get onlyunsigned long
list.length
The number of nodes in the list.
DOM Interface Methods
Node
list.item(unsigned long index)
list[index]
list(index)
Parameters:
index - index of the node to be returned, where the first index is 0 and the last index is list.length - 1
Return value:
the (index + 1)th node in this list (for example, if index is 3, the fourth node is returned) if 0 <= index < list.length, or else null