> > > $('#subscribeform').ajaxForm(function() { > > > $(this).validate(); > > > function runIt() { > > > $("#cover").fadeIn("fast"); > > > $("#sform").fadeOut(10000); > > > } > > > runIt(); > > > });
I didn't realize you were using the validation plugin. You'll need to do something like this: $("#subscribeform").validate({ submitHandler: function(form) { $(form).ajaxSubmit(); } }); More examples can be found here: http://bassistance.de/jquery-plugins/jquery-plugin-validation/ Mike