I have this HTML:
How can I do something li
Disable: $('input[type="submit"]').prop('disabled', true);
$('input[type="submit"]').prop('disabled', true);
Enable: $('input[type="submit"]').removeAttr('disabled');
$('input[type="submit"]').removeAttr('disabled');
The above enable code is more accurate than:
You can use both methods.