CodeQL library for JavaScript
Search

Member predicate DOM::DocumentElementDefinition::getAttributeByName

Gets an attribute of this DOM element with name name.

For example, the DOM element <a href="https://semmle.com">Semmle</a> has a single attribute href="https://semmle.com" with the name href.

AttributeDefinition getAttributeByName(string name)