Use the submitHandler option to handle the submit using ajaxSubmit:
http://jquery.bassistance.de/validate/demo/ajaxSubmit-intergration-demo.html

Jörn

On Mon, Jan 5, 2009 at 11:25 AM, ERP Evaluierungs leitfaden <
phil...@workx.at> wrote:

>
> Hi
>
> I'm loading a form via load() and want to Validate it via Validate
> Plugin and send it via ajaxForm()
>
> My Code looks like that:
>
> $('#detailform').livequery(function() {
>                $("#detailform").validate();
>            var options = {
>                                url:            'index.php?idcatside=33',
>                            target:     '#contactformfield',
>                            method:     'GET',
>                            success:    function() {  }
>                        };
>                        $('#detailform').ajaxForm(options);
>                        return false;
> });
>
> My problem is now that everything is working but the form is sent
> immediatly, the script
> doesn't wait for the validation.
>
> How can I change that?
>
> THX & cheers
> Philipp

Reply via email to