Answers for "how to get the value of an attribute using dom"

2

dom element get attribute

document.getElementById('id1').getAttribute('attribute');
Posted by: Guest on July-15-2020

Code answers related to "how to get the value of an attribute using dom"

Code answers related to "Javascript"

Browse Popular Code Answers by Language