I am stumped

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
This is more of a general guestion. I for life of me can not figure out how
to get the cursor to be displayed in the text box of a form. I have looked
high a low, but keep coming empty handed.
Thanks in advance
Leonard
 
Switch to preview or preview in browser and then click in the textbox.

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed..................
...............................with a computer
 
If you want to put some default text in the textbox, doubleclick it and
choose form field properties. Type the text in the dialogue box presented -
this text will show up by default when you view the site in the browser or
Preview.
 
do you mean that when you open a page with a form on it the
cursor is already prepositioned in the text box?
 
Geoffw said:
do you mean that when you open a page with a form on it the
cursor is already prepositioned in the text box?

If the OP does mean this, then s/he needs to use focus()

EG if you have a form
<form id="form1" name="form1" action="" >
Name:<br/>
<input type="text" id="Name" name="Name" value="Insert name" size="40"
/><br/>
....
the JS to set focus is
document.form1.Name.focus()
 
Back
Top