Technically, can you just put the alert message inside the
submitHandler option? For example:
$("#form").validate({
submitHandler: function(form) {
$(form).ajaxSubmit({
success: function() { alert("Thank you for your
comment!")},
clearForm: true
Validation plug-in version: 1.5.5
Form plug-in version: 2.28
I was able to get the validation and submit to work together properly.
However, when using options in the validation plugin such as
errorClass and validClass I was ran into some trouble. Upon
submission, these classes would stick/stay.
2 matches
Mail list logo