Mar 7, 2005 #1 amillia Programmer Nov 14, 2001 124 US When My default page loads, I need the second input box to have the focus, What is the easiest way to do this?
When My default page loads, I need the second input box to have the focus, What is the easiest way to do this?
Mar 7, 2005 #2 cLFlaVA Programmer Jun 14, 2004 6,450 US Code: <body onload="document.forms['formname'].elements['fieldname'].focus();" ... > *cLFlaVA ---------------------------- [tt]i'll be your best-kept secret and your biggest mistake...[/tt] [URL unfurl="true"]http://www.coryarthus.com/[/url] Upvote 0 Downvote
Code: <body onload="document.forms['formname'].elements['fieldname'].focus();" ... > *cLFlaVA ---------------------------- [tt]i'll be your best-kept secret and your biggest mistake...[/tt] [URL unfurl="true"]http://www.coryarthus.com/[/url]
Mar 7, 2005 Thread starter #3 amillia Programmer Nov 14, 2001 124 US Thank you very much. Upvote 0 Downvote