javascript disable button if no change has been made code example Example: enable html button $('#Button').prop('disabled', true);