Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

remove attribute disabled

// Makes the button disabled

document.getElementById("myButtonId").setAttribute("disabled", ""); 

// Removes disabled attribute

document.getElementById("myButtonId").removeAttribute("disabled");
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #remove #attribute #disabled
ADD COMMENT
Topic
Name
8+2 =