Answers for "how to check if element has getattribute method"

5

how to check element has an attribute js

let result = element.hasAttribute(name);
Posted by: Guest on July-28-2020

Code answers related to "how to check if element has getattribute method"

Code answers related to "Javascript"

Browse Popular Code Answers by Language