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