Magazine |
| | Community |
| | Workshop |
| | Tools & Samples |
| | Training |
| | Site Info |
|
|
||||||||
|
Adds or changes the supplied attribute node on this element.
Syntax
objDOMAttribute = oDOMElement.setAttributeNode(DOMAttribute)
Parameters
- IDOMAttribute
- Object that contains the attribute node to be associated with this element.
Returns
Object. Returns NULL unless the new attribute replaces an existing attribute with the same name, in which case this method returns the previous, replaced attribute node.
Applies To
Does this content meet your programming needs? Write us!
© 1998 Microsoft Corporation. All rights reserved. Terms of use.