[jQuery] [validate] Manual submit with submitHandler question

[jQuery] [validate] Manual submit with submitHandler question


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.