HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

hasAttributeNS

Description

The hasAttributeNS of Element for JS returns true if element has an attribute whose namespace is namespace and local name is localName.

Syntax

element.hasAttributeNS(namespace, localName)

Parameters

namespace

A null or a non-empty string.

localName

A local name.

Examples

1 · false

2 · true