View Single Post
  #2 (permalink)  
Old October 26th, 2009, 06:30 PM
Imar's Avatar
Imar Imar is offline
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Hi Tracey,

You need to use a bit of JavaScript to make this work:

http://forums.htmlhelp.com/index.php?showtopic=5399

ASP.NET (the successor to the older and out-dated classic ASP you're working with right now) makes this a little easier by allowing you to tell the page which control needs the focus on load. ASP.NET then generates the necessary client side script for you.

It's these little changes (and some bigger ones as well) that eventually make you want to switch to ASP.NET.....

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!