setAttributeNode method
[This documentation is preliminary and is subject to change.]
Sets an attribute object node as part of the object.
![]() |
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. JavaScript Returns 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
