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