[Javascript] Default Input

Howard Salter HowardSalter at penningtonseed.com
Mon Mar 11 08:50:11 CST 2002


That's exactly what I was looking for!

Thanks,
Howard

-----Original Message-----
From: Esther_Strom at hmco.com [mailto:Esther_Strom at hmco.com] 
Sent: Monday, March 11, 2002 9:44 AM
To: javascript at LaTech.edu
Subject: Re: [Javascript] Default Input


<body onLoad="javascript:document.formName.fieldName.focus()">



 

                      Howard Salter

                      <HowardSalter at penningt         To:
javascript at LaTech.edu

                      onseed.com>                    cc:

                      Sent by:                       Subject: [Javascript]
Default Input                                                     
                      javascript-admin at LaTec

                      h.edu

 

 

                      03/11/02 08:34 AM

                      Please respond to

                      javascript

 

 





This may be more of an HTML question than a javascript question, but here
goes anyway. How do I get a form to set the focus on an input field when
the
page loads. For instance, I have a page that has an input form that is used
over and over again. The users would like the focus to be set to the first
field on the form so they don't have to click on it every time they start a
new entry. Any ideas?

TIA,
Howard
_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
https://lists.LaTech.edu/mailman/listinfo/javascript




_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
https://lists.LaTech.edu/mailman/listinfo/javascript



More information about the Javascript mailing list