[thelist] XHTML and onLoad

Wolfgang Klinger (mokka) wolfgang.klinger at mokka.at
Tue Mar 5 09:11:08 CST 2002


hiya!

the "problem"(?) is that you *must* use lowercase
in xhtml, nothing else ;-)

Wolfgang

>
> Anyone know how this affects (if it does at all) older browsers
> reading js code? Is there any relationship?
>
> Sharon
>
> From: "Josué Figueira Machado" <jmachado at mindspring.com>
> Sent: Tuesday, March 05, 2002 4:47 AM
>
> > Try "onload" instead of "onLoad".
> >
> > HTH,
> >
> > Josué
> >
> > At 04:39 AM 3/5/2002 -0800, Sarah Heffron wrote:
> > >I was am validating a document that is XHTML Transitional and
> I get this
> > >error:
> > >
> > >Line 67, column 14:
> > >    <body onLoad="document.login.username.focus()">
> > >                 ^Error: there is no attribute "onLoad" for
> this element (in
> > >this HTML version)
> > >
> > >
> > >What does one do to make this validate?




More information about the thelist mailing list