[thelist] Direct focus on login

Scott Dexter dexilalolai at yahoo.com
Mon Nov 22 12:17:07 CST 2004


> > <head>
> > <script type="text/javascript">
> > window.onload=focusField;
> > 
> > <snip> 
> 
> I remember trying something like this when I first implemented this
> 
> functionality and it didn't seem to work all of the time in the
> browsers 

In which case I'd say move the assignment to inside the <body> tag:

<body onLoad="focusField();">

Never had any problems with that method, dating back to Netscape
4.x...


sgd


More information about the thelist mailing list