Javascript Reference
Categories: childNodes

javascript childNodes item( )

@March 15, 2008, 1:22 a.m.
item( )Firefox/Netscape/NN 6 IE 5 Chrome/Safari/DOM 1  

item(index)

  

Returns a single Node object corresponding to the element matching the index value.

 
Parameters
 
index

A zero-based integer corresponding to the specified item in source code order (nested within the current node).

 
Returned Value

Reference to one Node object. If there is no match to the index value, the returned value is null. Unlike some other collections in IE, a string index value is not allowed for the childNodes object.

Under moderation.
AlyssaDib - 2014-02-05
Under moderation.
AlyssaDib - 2014-02-03
Under moderation.
AlyssaDib - 2014-01-27

Powered by Linode.