|
January 28, 2001 The Attribute Node Tips: January 2001
Yehuda Shiran, Ph.D.
|
|
Later browsers (Netscape 6+, Mozilla, IE6+, Opera 7+) support the attribute object. One way to create an attribute node is via the document.createAttribute() command:
The attribute node is very unique. It is not anyone's child, and it does not belong to the
You can query the attribute name and its value with
Click the following buttons to detect the attribute name and value in any of the browsers mentioned above. Click them in other browsers and you will receive an error message or nothing at all will happen: Here is how we defined these buttons:
People who read this tip also read these tips: Look for similar tips by subject: |