namedItem
Description
The namedItem of HTMLAllCollection for JS returns the first element with ID or name name from the collection.
Syntax
element = collection.namedItem(name) element = collection[name]
Parameters
name
A non-empty string.
The namedItem of HTMLAllCollection for JS returns the first element with ID or name name from the collection.
element = collection.namedItem(name) element = collection[name]
A non-empty string.