Method: NodeList.item()
The item() method returns the Node at the specified index in the collection.
Parameters
Parameter |
Type |
Description |
|---|---|---|
index |
int |
An integer that represents the node’s position in NodeList. Valid values are between 0 and NodeList.length-1 inclusive. |