[validate] onsubmithandler doesn't seem to work

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[validate] onsubmithandler doesn't seem to work

yellow1912-2

Hi,

The code I used is:

                  $(selector + ' form').livequery(function() {
        $(this).validate({
                                                submitHandler: function(form) {
                                                        $(form).ajaxForm(options);
                                                }
      })
    });

However, while the validation does work, it doesnt seem to call back
ajaxform at all
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "jQuery Plugins" group.
To post to this group, send email to [hidden email]
To unsubscribe from this group, send email to [hidden email]
For more options, visit this group at http://groups.google.com/group/jquery-plugins?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply | Threaded
Open this post in threaded view
|

Re: onsubmithandler doesn't seem to work

yellow1912-2

My bad, should have used ajaxSubmit in this case instead of ajaxForm

Regards

Raine

On Jan 9, 12:42 pm, yellow1912 <[hidden email]> wrote:

> Hi,
>
> The code I used is:
>
>                         $(selector + ' form').livequery(function() {
>         $(this).validate({
>                                                 submitHandler: function(form) {
>                                                         $(form).ajaxForm(options);
>                                                 }
>                 })
>         });
>
> However, while the validation does work, it doesnt seem to call back
> ajaxform at all
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "jQuery Plugins" group.
To post to this group, send email to [hidden email]
To unsubscribe from this group, send email to [hidden email]
For more options, visit this group at http://groups.google.com/group/jquery-plugins?hl=en
-~----------~----~----~----~------~----~------~--~---