A RetroSearch Logo

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

Search Query:

Showing content from https://developer.cdn.mozilla.net/en-US/docs/Web/API/HTMLAllCollection/namedItem below:

HTMLAllCollection: namedItem() method - Web APIs

HTMLAllCollection: namedItem() method

The namedItem() method of the HTMLAllCollection interface returns the first Element in the collection whose id or name attribute matches the specified name, or null if no element matches.

Syntax

js

namedItem(name)
Parameters
name

A string representing the value of the id or name attribute of the element we are looking for.

Return value

The first Element in the HTMLAllCollection matching the name, or null, if there are none.

Specifications Specification HTML
# dom-htmlallcollection-nameditem
Browser compatibility

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