disable element on button click html code example
Example 1: html button disabled
<button type="button" disabled>This button is disabled</button>
Example 2: enable html button
$('#Button').prop('disabled', true);
<button type="button" disabled>This button is disabled</button>
$('#Button').prop('disabled', true);