elementsetidattributens14
IBM
Declares the attribute specified by local name and namespace URI to be of type ID. If the value of the
specified attribute is unique then this element node can later be retrieved using getElementById on Document.
Note, however, that this simply affects this node and does not change any grammar that may be in use.
Invoke setIdAttributeNS on two existing attributes of the second p element and the third
acronym element. Verify by calling isId on the attributes and getElementById with different values on document node.
Jenny Hsu
2003-02-26