Hi, I have the same problem,
BUT I have keyup-validation off.
What seems to trigger the eroor seems to be the onfocusout option.
Any hints?

TIA
sergio

On Feb 10, 11:43 pm, Jörn Zaefferer <joern.zaeffe...@googlemail.com>
wrote:
> onkeyup:true is the culprit. You can disable the keyup-validation via
> onkeyup:false, but the only other valid value is afunction.
>
> Jörn
>
> On Tue, Feb 10, 2009 at 5:12 PM, crowincage <p...@christianruppel.de> wrote:
>
> > Hello,
>
> > this is my first post - hope everthing goes fine :-)
> > today I get a strange error trying to use the validation plugin from
> > bassistance - used it several times before but never mentioned
> > something like this (using latest v.1.5.1 & jquery 1.3.1).
> > Firebug shows me following error (my code follows at the end):
>
> >validator.settings["on" +event.type].callisnotafunction
>
> > The error isn't shown if I remove the event options
> > (onfocusout,onkeyup..) but I want to use the options of course. Also
> > the blur event doesn't worked for me any more. I've tried for a few
> > hours to change my code - e.g. remove the livequery optin - but
> > nothing worked for me.
>
> > Maybe someone has an idea.
>
> > thx & kind regards
>
> > $(document).ready(function()
> >        {
> >          var formOptions =
> >          {
> >            focusInvalid: "false",
> >            onfocusout: "true",
> >            onkeyup: "true",
> >            errorElement: "span",
> >            submitHandler:
> >              function(form)
> >              {
> >                  $(form).ajaxSubmit({
> >                    dataType: "json",
> >                    beforeSubmit:function(a,f,o) {
> >                    o.dataType = "html";
> >                    $("#ajaxLoad").show();
> >                  },
> >                  success:function(data){
> >                    $("#ajaxLoad").hide();
> >                  }
> >                  });
> >              },
> >            rules: {
> >              "project[title]": {required: true}
> >            },
> >            messages: {
> >              "project[title]": {required: '&nbsp;'}
> >            }
> >          };
>
> >          var validator = $("#project").livequery(function(){
> >            $(this).validate(formOptions);
> >          });
> >       });
>
>

Reply via email to