A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://webplatform.github.io/docs/dom/NodeList below:

NodeList ยท WebPlatform Docs

NodeList Summary

Represents a list of DOM Nodes

Properties
length
The number of nodes in the list.
Methods
item
Gets the nth item in the collection
Events

No events.

Examples
var list = document.getElementsByClassName('highlighted');
for(var i=0; i<list.length; i++){
    var item = list[i];
}
Notes

The NodeList represents the content as it is currently in the document, and will change as the document changes.

Related specifications
DOM Level 1
W3C Recommendation
DOM
W3C Working Draft

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4