'setAttributeNode()' Syntax, Parameters and Note : setAttributeNode : Javascript Methods : JavaScript Reference examples (example source code) Organized by topic

JavaScript Reference
C++
JavaScript Reference Home »  Javascript Methods   » [  setAttributeNode  ]   
 



'setAttributeNode()' Syntax, Parameters and Note

Note:

This method adds an attribute node to the element.
    
Syntax:
    
document.getElementById("elementID").setAttributeNode(param1)
document.all.elementID.setAttributeNode(param1// IE only

Parameters:
    param1   Required; the name of the attribute to be added.

    

      
      
Related examples in the same category
1.  'setAttributeNode()' Example
2.  'setAttributeNode()' is applied to








Home| Contact Us
Copyright 2003 - 04 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.