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.

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