Re: How to Set a field to get focus on startup
From: Darren Clark (dclark88_at_hotmail.com)
Date: 06/28/04
- Next message: John Saunders: "Re: How to clear parameter out of url"
- Previous message: John Saunders: "Re: Need Help ASAP!"
- In reply to: tfs: "How to Set a field to get focus on startup"
- Next in thread: Ken Cox [Microsoft MVP]: "Re: How to Set a field to get focus on startup"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 28 Jun 2004 11:20:29 +1000
could try a generic option
function init()
{
try
{
document.forms[0].elements[0].setFocus();
}
}
"tfs" <tfs@dslextreme-dot-com.no-spam.invalid> wrote in message
news:40df6e31$1_1@Usenet.com...
> How do I set a field on my screen to get focus when the page opens?
>
> Thanks,
>
> Tom
>
>
> Posted Via Usenet.com Premium Usenet Newsgroup Services
> ----------------------------------------------------------
> ** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
> ----------------------------------------------------------
> http://www.usenet.com
- Next message: John Saunders: "Re: How to clear parameter out of url"
- Previous message: John Saunders: "Re: Need Help ASAP!"
- In reply to: tfs: "How to Set a field to get focus on startup"
- Next in thread: Ken Cox [Microsoft MVP]: "Re: How to Set a field to get focus on startup"
- Messages sorted by: [ date ] [ thread ]