A RetroSearch Logo

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

Search Query:

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

item ยท WebPlatform Docs

item Summary

Retrieves a node specified by ordinal index. Nodes are numbered in tree order (depth-first traversal order).

Method of dom/HTMLCollectiondom/HTMLCollection

Syntax
var node = collection.item(index);
Parameters index
Data-type
unsigned long

The index of the node to be fetched. The index origin is 0.

Return Value

Returns an object of type DOM NodeDOM Node

The Node at the corresponding position upon success. A value of null is returned if the index is out of range.


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