|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Selecting 1st Field.
I have an adminstration system working. I want to have it so when the add new entry and the page loads up,the first field within the form is selected automatically. So a person can just start, typing.. I know it's a javascript question but asking all the same. thanks
|
|
#2
|
|||
|
|||
|
RE: Selecting 1st Field.
in the body tag, put an onLoad event that sets focus to the form field.
<body onLoad="document.form.formfield.focus();"> of course you need to replace 'form' with your form name and 'formfield' with you form element name! |
|
#3
|
|||
|
|||
|
Message Moved
Thread moved from 'PHP Coding' to 'Client Side Things' by Blindeddie.
Reason: Client side question |
|
#4
|
|||
|
|||
|
RE: Selecting 1st Field.
not a problem Sorry for the inconvience.
|
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Client Side Things > Selecting 1st Field. |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|