Home | Top | Free Ajax Editor | JavaScript Editor JavaScript EditorGet Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.


createAttribute Method

Creates an attribute object with a specified name .

Syntax

oAttribute = document .createAttribute( sName )

Parameters

sName Required. String that sets the attribute object's name .

Return Value

Returns a reference to the new attribute object.

Remarks

This method will fail if the sName parameter value contains invalid (non Unicode transformation format (UTF)-16) characters .

Standards Information

This method is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 .

Applies To

[ Object Name ] Platform Version
Win32:
 
document
Home | Top | Free Ajax Editor | JavaScript Editor JavaScript EditorGet Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.