On Apr 21, 9:21 am, Up-Works <[EMAIL PROTECTED]> wrote:
> Yes this line is, $('form#order').validate();,  10 lines above my
> livequery function
>
> Should I place it outside of the $(document).ready( function() ) { };
>
> On Apr 21, 8:02 am, Jörn Zaefferer <[EMAIL PROTECTED]> wrote:
>
> > Up-Works schrieb:
>
> > > $('input#step2').livequery('click',function() {
> > >  if($('form#order').valid()) {
> > >     $('div#stepOne').hide();
> > >     $('div.step').html('Step<br\/>Two');
> > >     $('div#stepTwo').show();
> > >  }
> > > return false;
> > > });
>
> > > The line - if($('form#order').valid()) {
>
> > > Cause IE 6 to throw and error stating 'Object doesn't  support this
> > > property or method.
>
> > > Works in IE7 , FF+ and Safari+
>
> > > Thank you in advance
>
> > You have to setup validation first before using valid() on a form, eg.
> > call validate() first. Does your code include that?
>
> > Jörn

Reply via email to