This is provided to support some previous usage that accessed the tag name under the nodeName property. The same value is available in the name property of the Attribute object. It may contain some values that the name property does not support.
The following values may be seen in this property:
The tag name also visible via the tagName property of the owning object.
The attribute name for those nodes which are Attribute objects
the value #text for nodes that encapsulate a block of raw text and are textNode objects.
See also: | Element.tagName, textNode object |
Prev | Home | Next |
Attribute.name | Up | Attribute.nodeType |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |