disable buttons html code example
Example 1: html button disabled
<button type="button" disabled>This button is disabled</button>
Example 2: javascript disable button
document.getElementById(BUTTON_ID).disabled = true;
Example 3: disable input type button in html
<input type="button" disabled value="Submit">