setNamedItem (DOMNamedNodeMap - JavaScript)

Adds a node using its node name attribute.

Defined in

DOMNamedNodeMap

Syntax

setNamedItem(arg:DOMNode) : DOMNode