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
You've got an error in the second selector, a missing #. Try this:
$("#submit").validate({
submitHandler: function(form) {
$(form).ajaxSubmit();
}
});
Jörn
On Thu, Jul 23, 2009 at 3:22 PM, Nick wrote:
>
> Hi,
>
> I am currently trying to validate a form before sendi
2 matches
Mail list logo