The getAttribute JS Element returns element’s first attribute whose qualified name is qualifiedName, and null if there is no such attribute otherwise.
Syntax
element.getAttribute(qualifiedName)
Parameters
qualifiedName
A qualified name.
The getAttribute JS Element returns element’s first attribute whose qualified name is qualifiedName, and null if there is no such attribute otherwise.
element.getAttribute(qualifiedName)
A qualified name.