NamedNodeMap.getNamedItem()
The getNamedItem()
method of the
NamedNodeMap
interface returns the Attr
corresponding to
the given name, or null if there is no corresponding attribute.
Syntax
myAttr = attrs.getNamedItem(name)
Parameters
name
is the name of the desired attribute
Browser compatibility
BCD tables only load in the browser