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