html button disabled is false but onclick is not working code example Example: enable html button $('#Button').prop('disabled', true);