setNamedItem (DOMNamedNodeMap - JavaScript) Adds a node using its node name attribute. Defined inDOMNamedNodeMap SyntaxsetNamedItem(arg:DOMNode) : DOMNode