hasAttributeNS Method
Last Updated: 08-26-2005
Returns whether or not the Element has an attribute with the specified local name and namespace URI.

Syntax
var bExists = Element.hasAttributeNS(sNamespaceURI, sLocalName);

Parameters
sNamespaceURI Required. The namespace URI of the attribute to look for.
sLocalName Required. The local name of the attribute to look for.

Return Value
One of the following values:
true The Element has an attribute with the specified local name and namespace URI
false The Element does not have an attribute with the specified local name and namespace URI.

Applies To
Element
[24]7 Inc.| Terms of Service| Privacy Policy| General Disclaimers