Answers for "add attribute javascript to element"

7

javascript add attribute

var element = document.getElementById('btnBuild');
element.setAttribute("disabled", "disabled");
Posted by: Guest on June-23-2021
14

set attribute javascript

Element.setAttribute(name, value);
Posted by: Guest on March-02-2020

Code answers related to "add attribute javascript to element"

Code answers related to "Javascript"

Browse Popular Code Answers by Language