setAttributeNode method (Internet Explorer)

Switch View :
ScriptFree
setAttributeNode method

[This documentation is preliminary and is subject to change.]

Sets an attribute object node as part of the object.

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

Syntax

object.setAttributeNode(pattr, )

Standards information

Parameters

pattr [in]

Type: IHTMLDOMAttribute

attribute object to be assigned.
ppretAttribute [out, retval]
C++Address of a pointer variable that receives the assigned IHTMLDOMAttribute2 pointer.
JavaScriptReturns a reference to the removed attribute object.

Return value

Type: ObjectReturns a reference to the removed attribute object.Address of a pointer variable that receives the assigned IHTMLDOMAttribute2 pointer.

Remarks

setAttributeNode was introduced in Microsoft Internet Explorer 6.

 

 

Build date: 2/14/2012