25.59. Document.createAttribute( ): create a new Attr nodeDOM Level 1 Core:25.59.1. SynopsisAttr createAttribute(String name) tHRows DOMException; 25.59.1.1. Arguments
25.59.1.2. ReturnsA newly created Attr node with its nodeName property set to name. 25.59.1.3. ThrowsThis method throws a DOMException with a code of INVALID_CHARACTER_ERR if name contains an illegal character. 25.59.2. See AlsoAttr, Element.setAttribute( ), Element.setAttributeNode( ) |