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