setAttributeNode
Method of dom/Elementdom/Element
Syntax
var object = object.setAttributeNode(pattr);
Parameters
pattr
- Data-type
- any
attribute
Return Value
Returns an object of type DOM NodeDOM Node
IHTMLDOMAttribute
attribute
IHTMLDOMAttribute2
Notes
Remarks
setAttributeNode was introduced in Microsoft Internet Explorer 6.
Syntax
Standards information
Attributions
Microsoft Developer Network: [Windows Internet Explorer API reference Article]