Computing.Net > Forums > Web Development > Move to next field

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Move to next field

Reply to Message Icon

Name: athlonfred
Date: March 3, 2006 at 02:44:18 Pacific
OS: Server 2003
CPU/Ram: 2.2GHz / 512mb
Comment:

I have a form with a drop down menu. Is there a way after someone makes their choice in the drop down menu to automatically move to a textbox below it? cheers



Sponsored Link
Ads by Google

Response Number 1
Name: Michael J (by mjdamato)
Date: March 3, 2006 at 07:02:50 Pacific
Reply:

In the opening SELECT tag, add the following

<select name="sel" onchange="document.formName.fieldName.focus();">

Replace formName with the name of the form that the fields reside in and fieldName with the name of the text field you want to change to.

Michael J


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: Move to next field

Moving to new host www.computing.net/answers/webdevel/moving-to-new-host/1889.html

Navigate images using next/back? www.computing.net/answers/webdevel/navigate-images-using-nextback/299.html

basic batch script www.computing.net/answers/webdevel/basic-batch-script/2292.html