Export (0) Print
Expand All
go
Expand Minimize

setNamedItemNS method

Adds an attribute to an element by using its namespaceURI and localName properties.

Document Object Model (DOM) Level 3 Core Specification, Section 1.4Internet Explorer 9

 

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

attributes
setNamedItem

 

 

Show:
© 2014 Microsoft