HTML DOM Attributes getNamedItem()
HTML DOM Attributes getNamedItem() Method
The getNamedItem() method is used to return an attribute node from a NamedNodeMap object.
Syntax:-
Its syntax is:- namednodemap.getNamedItem(nodename)
Return:-
Its return is:- node with specific name
Further Explanation:-
Parameter | Description |
nodename | Required. The name of the node in namedNodeMap. |