[AccessD] OT-HTML Setting Focus To A TextBox

Bob Gajewski rbgajewski at adelphia.net
Fri May 7 11:48:57 CDT 2004


<body onload="document.form.field.focus();">

Replace the 'form' portion with your form's name, and the 'field' portion
with your textbox's name.

Regards,
Bob Gajewski

-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of
paul.hartland at fsmail.net
Sent: Thursday, May 06, 2004 10:24
To: accessd
Subject: [AccessD] OT-HTML Setting Focus To A TextBox


To all,
Sorry about the HTML OT's but don't know where else to ask.  I now have a
working logon page which queries an Access database.  What I would like is
when the logon page appears is to have the focus set to Username.
Does anyone have any idea how I do this ?
Also can anyone recommend a good HTML/ASP list ?
Thanks in advance
Paul Hartland

--

Whatever you Wanadoo:
http://www.wanadoo.co.uk/time/

This email has been checked for most known viruses - find out more at:
http://www.wanadoo.co.uk/help/id/7098.htm
--
_______________________________________________
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com





More information about the AccessD mailing list