setAttributeNodeNS
Method of dom/Elementdom/Element
Syntax
var object = object.setAttributeNodeNS(pattr);
Parameters
pattr
- Data-type
- any
attribute
Return Value
Returns an object of type DOM NodeDOM Node
IHTMLDOMAttribute
attribute
Notes
Remarks
If the object already contains an attribute with the same name, the new attribute replaces the original attribute.
Syntax
Standards information
Attributions
Microsoft Developer Network: [Windows Internet Explorer API reference Article]