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

JavaScript Reference
C++
PHP
JavaScript Reference Home »  Javascript Methods   » [  createAttribute  ]   
 



'createAttribute()' Syntax, Parameters and Note

Note:

Creates an attribute node. 
It also works with user-defined XML elements, allowing for the creation of
custom attributes.
    
Syntax:
    
document.createAttribute(param1)


Parameters:
    param1   Required; the name of the attribute.

    

      
      
Related examples in the same category
1.  'createAttribute()' Example
2.  'createAttribute()' 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.