how to diable true and false js code example Example: enable html button $('#Button').prop('disabled', true);