<body onload="document.forms.login.username.focus()>

When I change onLoad to onMouseOver, the focus is set as soon as I move the
mouse.

-----Ursprungliche Nachricht-----
Von: Simon Christian [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 21. Juni 2001 22:50
An: [EMAIL PROTECTED]
Betreff: Re: AW: focus on an entry-field



"Foth, Oliver" wrote:
> 
> I've tried that, but as I said onLoad seems to be ignored. When I change
> onLoad to any other event-handler it works.
> 
> Here's my code:
> $page.addttribute("onLoad","document.forms.login.username")

I guess this depends on what your $page.addAttribute method does. What
is the HTML that is produced in this case?

- simon

Reply via email to