Mega Code Archive

 
Categories / JavaScript Reference / Javascript Methods
 

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.