[jQuery] Re: Trying to Validate a Form

2009-07-23 Thread Hayden Hancock
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

[jQuery] jQuery Validation Plugin jQuery Form Plugin

2009-07-23 Thread Hayden Hancock
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.