> Hi,
>
[quoted text clipped - 14 lines]
>
> Thanks.
It works for me under IE and FF.
However, <SCRIPT> should be <SCRIPT type="text/javascript">
Alternatively, you could remove the <SCRIPT> section and
change the <BODY> tag to <BODY onload="document.f.n1.focus()">
RobG - 30 Jul 2005 06:49 GMT
[...]
> It works for me under IE and FF.
>
> However, <SCRIPT> should be <SCRIPT type="text/javascript">
>
> Alternatively, you could remove the <SCRIPT> section and
> change the <BODY> tag to <BODY onload="document.f.n1.focus()">
Works for me too with Safari and Firefox on Mac.
Try moving the script outside the form (you may not be able to get a
reference to it since it isn't finished yet) or create a delay using:
...
setTimeout( 'document.f.n1.focus()', 10 );
...

Signature
Rob