elementsetidattribute03
IBM
First use setAttribute to change the class attribute of the third acronym element. Invoke setIdAttribute
on the newly set attribute. Verify by calling isID on the new attribute and getElementById on document.
Invoke setIdAttribute again to reset. Calling isID should return false.
Jenny Hsu
2003-02-25