hasAttributeNS (DOMElement - JavaScript)

Returns true when an attribute with a given local name and namespace URI is specified on this element or has a default value, false otherwise.

Defined in

DOMElement

Syntax

hasAttributeNS(namespaceURI:string, name:string) : boolean