Ok Jörn,

issue created

http://dev.jquery.com/ticket/3516

thanks for all



-- 
Atentament / Kind Regards

Àlex Corretgé
Serveis Informàtics Corretgé.com SLU
http://corretge.cat/

LinkedIn: http://www.linkedin.com/in/corretge



2008/10/22 Jörn Zaefferer <[EMAIL PROTECTED]>

> Apart from the fact that this event needs to get exposed as an option,
> its also a bug that it isn't triggered by the remote method. Could you
> file a ticket for this? http://dev.jquery.com/newticket (requires
> registration)
>
> Thanks!
>
> Jörn
>
> On Wed, Oct 22, 2008 at 10:47 AM, corretge <[EMAIL PROTECTED]> wrote:
> >
> > Hi, I try to show a list of errors in an alert box when the form is
> > cancelled by jQuery Validator.
> >
> > Surfing the web I see that I can use invalid-form.validate like this:
> >
> >
> >                $('#bpwcForm').bind('invalid-form.validate', function(e,
> validator)
> >                {
> >                    var errors = validator.numberOfInvalids();
> >                    alert('ERR ' + errors);
> >
> >         });
> >
> >
> > but this function is NOT executed when a submit form is cancelled by a
> > remote rule.
> >
> > any suggestion or work-arround?
> >
> > thanks
> > Àlex Corretgé
> >
>

Reply via email to