August 2006
Intermediate to advanced
1018 pages
34h 13m
English
Document.createAttribute( ): create a new Attr node — DOM Level 1 Core:
Attr createAttribute(Stringname)
throws DOMException;name
The name for the newly created attribute.
A newly created Attr node with its nodeName property set to
name.
This method throws a DOMException with a code of INVALID_CHARACTER_ERR if
name contains an illegal
character.
Attr, Element.setAttribute( ), Element.setAttributeNode( )
Read now
Unlock full access