Answers for "add a attribute to a html element"

7

javascript add attribute

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

Code answers related to "add a attribute to a html element"

Code answers related to "Javascript"

Browse Popular Code Answers by Language