Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $('#Email').on('input', function () {
- var submitButton = $('#emailValidationForm').find(':submit');
- if ($('#emailValidationForm').validate().check($('#Email'))) {
- submitButton.removeAttr('disabled');
- } else {
- submitButton.attr('disabled', '');
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement