javascript disable button
//disable the button document.getElementById(BUTTON_ID).disabled = true; //reable the button document.getElementById(BUTTON_ID).removeAttribute('disabled');
how to disable all buttons in javascript
$("input[type=button]").attr("disabled", "disabled");
Source: stackoverflow.com
make button disabled javascript
// Makes the button disabled document.getElementById("myButtonId").setAttribute("disabled", ""); // Removes disabled attribute document.getElementById("myButtonId").removeAttribute("disabled");
html button disabled
<button type="button" disabled>This button is disabled</button>
javascript disable button
document.getElementById(BUTTON_ID).disabled = true;
button disable in js
document.getElementById("submitButtonId").disabled = true;
Source: stackoverflow.com