On Sun, Mar 15, 2009 at 8:24 PM, MonkeyBall2010
<hughes.timo...@gmail.com> wrote:
>
> I'm still trying to figure out how to make actions happen with an AJAX
> button submit. Right now I am using the jQuery Validation plugin to
> validate my form and then the Forms plugin to perform an AJAX submit.
> I have the validation and AJAX submit working perfectly right now but
> I was hoping to add just a bit more after the submit button has been
> pressed, the form validated, and the information sunmitted. I was
> hoping to pop up a modular window with a small box that says Thank You
> and then redirect the user to a new page.
>

You can provide a callback function that will be called on success:

$('#the_form').ajaxForm(function() { do.whatever(); });

Reply via email to