Search w3schools.com:

SHARE THIS PAGE

DOM NodeList Object


Definition and Usage

The NodeList object represents an ordered collection of nodes.

The nodes in the NodeList can be accessed through their index number (starting from 0).

A NodeList object could be a Node's collection of child nodes.


Browser Support

Internet Explorer Firefox Opera Google Chrome Safari

The NodeList object is supported in all major browsers.


NodeList Object Properties

The "DOM" column indicates in which DOM Level the property was introduced.

Property Description DOM
length Returns the number of nodes in the collection 1

NodeList Object Methods

The "DOM" column indicates in which DOM Level the method was introduced.

Method Description DOM
item() Returns the node at the specified index in a node list 1


Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]