Section 25.95. Element.getAttributeNode( ): return the Attr node for the named attribute


25.95. Element.getAttributeNode( ): return the Attr node for the named attribute

DOM Level 1 Core:

25.95.1. Synopsis

 Attr getAttributeNode(String name); 

25.95.1.1. Arguments

name

The name of the desired attribute.

25.95.1.2. Returns

An Attr node that represents the value of the named attribute, or null if this element has no such attribute.

25.95.2. Description

getAttributeNode( ) returns an Attr node that represents the value of a named attribute. Note that this Attr node can also be obtained through the attributes property inherited from the Node interface.

25.95.3. See Also

Element.getAttribute( ), Element.getAttributeNodeNS( )




JavaScript. The Definitive Guide
JavaScript: The Definitive Guide
ISBN: 0596101996
EAN: 2147483647
Year: 2004
Pages: 767

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net