|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi,
I have a form with 3 text fields. How do I position the cursor in the first field automatically when the form is displayed, without having to click on the field or hit tab. Thanks in advance. |
|
#2
|
|||
|
|||
|
In the <body> tag put this bit of javascript:
onLoad="document.forms.FORMNAME.FIELDNAME.focus();" |
|
#3
|
|||
|
|||
|
Thanks,
That did the trick ![]() |
![]() |
| Viewing: Dev Shed Forums > Web Design > HTML Programming > position cursor in form field |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|