[AccessD] OT-HTML Setting Focus To A TextBox

paul.hartland at fsmail.net paul.hartland at fsmail.net
Tue May 25 04:48:12 CDT 2004


Sander
Figured it out, after you put the input boxs on the screen but still within the Form tags just put
<script language="JavaScript">
  document.forms.FORMNAME.INPUTBOXNAME.focus()
</script>

Thanks anyway
Paul




Message date : May 25 2004, 10:32 AM
>From : "S D" 
To : "Access Developers discussion and problem solving" 
Copy to : 
Subject : Re: [AccessD] OT-HTML Setting Focus To A TextBox
Hi Paul,

sorry but I do not know how to do this (I did it once in C# but that's a whole diff ballgame). You could try http://asp101.aspin.com/
or 

http://www.w3schools.com/vbscript/vbscript_ref_functions.asp?output=print
http://www.asptutorial.info/
http://4guysfromrolla.com/webtech/amb/amb.beginnerasp.shtml
HTH.

Sander

paul.hartland at fsmail.net wrote:
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

---------------------------------
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger
-- 
_______________________________________________
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com

-- 

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


More information about the AccessD mailing list