Thank you, it works this way !
Jörn Zaefferer-2 wrote: > > > Try to add form.submit(). The calls the native submit method and > avoids triggering the validation again. > > Jörn > > On Wed, Jun 25, 2008 at 12:44 PM, debussy007 <[EMAIL PROTECTED]> wrote: >> >> >> Hi, >> >> Whenever a form is correctly validated, I want to change my submit button >> into an ajax-like image. >> >> $("#form_register").validate({ >> submitHandler: function(form) { >> $("#button").html( >> " '<?php echo $this- baseUrl; >> ?>/public/images/ajax/ajax-loader-32.gif' " >> + >> "class='no-border'> Registration in progress..." >> ); >> }, >> >> The problem is that the form isn't submitted, >> I tried also to add return true, it has no effect >> and if I add $(form).submit() I have in firebug an error 'too much >> recursion' (I guess it tries to validate again and again) >> >> Thank you for any help. >> -- >> View this message in context: >> http://www.nabble.com/-validate--Manual-submit-with-submitHandler-question-tp18109452s27240p18109452.html >> Sent from the jQuery General Discussion mailing list archive at >> Nabble.com. >> >> > > -- View this message in context: http://www.nabble.com/-validate--Manual-submit-with-submitHandler-question-tp18109452s27240p18116015.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.