Object: NodeList
The NodeList object is an array that contains an ordered collection of nodes.
You can access an individual Node within a collection by its index position using NodeList.item() or you can index the object directly. For example, if you create an instance of a NodeList object called myNodeList, then specifying
myNodelist.item(2)
is equivalent to specifying
myNodelist[2]
NodeList properties
NodeList methods
Next topic:
Object: Notation
Previous topic: Node methods