setNamedItemNS method
Adds an attribute to an element by using its namespaceURI and localName properties.
![]() ![]() |
Syntax
var ppNodeOut = attributes.setNamedItemNS(pAttrNode);Parameters
- pAttrNode [in]
-
Type: IHTMLDOMAttribute2
The attribute to add.
- ppNodeOut [out, retval]
-
Type: IHTMLDOMAttribute2
The attribute node that the pAttrNode node replaces, or a null value.
Return value
Type: IHTMLDOMAttribute2
The attribute node that the pAttrNode node replaces, or a null value.
Standards information
See also
Show:

