how to deactivate a button in html code example Example: enable html button $('#Button').prop('disabled', true);