JavaScript: The Definitive Guide
25.101. Element.hasAttributeNS( ): determine whether this element has a specified attribute
DOM Level 2 Core:
25.101.1. Synopsis
boolean hasAttributeNS(String namespaceURI, String localName);
25.101.1.1. Arguments
25.101.1.2. Returns
true if this element has an explicitly specified value or a default value for the specified attribute; false otherwise. 25.101.2. Description
This method works like hasAttribute( ), except that the attribute to be checked for is specified by namespace and name. This method is useful only with XML documents that use namespaces. 25.101.3. See Also
Element.getAttributeNS( ), Element.hasAttribute( ), Element.setAttributeNS( ) |
Категории