Use the submitHandler callback in the options.
http://docs.jquery.com/Plugins/Validation/validate#toptions

$(".selector").validate({
   submitHandler: function(form) {
        $("button").attr('disabled', 'disabled');
   }
});

On Mar 4, 12:50 pm, Gigi <gig...@gmail.com> wrote:
> When a user clicks the submit button and the form passes validation
> I'd like that button to be automatically disabled.
>
> I'd like to prevent users from double clicking on the button to
> prevent double submissions.
>
> Thanks!

Reply via email to