elementsetidattribute04
IBM
First use setAttribute to create a new attribute on the third strong element. Invoke setIdAttribute
on the new 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