Element.hasAttributeNS

Returns true when an attribute with a given localName and namespaceURI is specified on this element or has a default value, false otherwise. Per the XML Namespaces specification, applications must use the value null as the namespaceURI parameter for methods if they wish to have no namespace.

interface Element
bool
hasAttributeNS
(
DOMString namespaceURI
,
DOMString localName
)

Meta