Member predicate DOM::ElementDefinition::getAttribute
Gets the i
th attribute of this DOM element, if it can be determined.
For example, the 0th (and only) attribute of <a href="https://semmle.com">Semmle</a>
is href="https://semmle.com"
.
Gets the i
th attribute of this DOM element, if it can be determined.
For example, the 0th (and only) attribute of <a href="https://semmle.com">Semmle</a>
is href="https://semmle.com"
.