This page is In Progress

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

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