how to disable all buttons in javascript
snippet in javascript

javascript disable button

user1263

//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

user4147

$("input[type=button]").attr("disabled", "disabled");