hasAttributeNS
hasAttribute is a boolean value indicating whether the current element has an attribute with the specified name and namespace.
Syntax
[ true | false ] = element.hasAttribute(namespace, localName)
Parameters
namespace is a string representing the namespace you are looking for
localName is a string representing the name of the attribute
Example
Notes
Specification
hasAttributeNS
Netscape Communications http://developer.netscape.com |