August 2006
Intermediate to advanced
1018 pages
34h 13m
English
NodeList.item(): get an element of a NodeList — DOM Level 1 Core
Node item(unsigned long
index);
index
The position (or index) of the desired node in the
NodeList. The index of the first node in the NodeList is 0,
and the index of the last Node is length−1.
The node at the specified position in the NodeList, or
null if
index is less than zero or greater than
or equal to the length of the NodeList.
This method returns the specified element of a NodeList. In
JavaScript, you can use the square-bracket array notation instead of
calling item( ).
Read now
Unlock full access