Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JSP - how to handle onChange event

843835Jul 3 2003 — edited Jul 3 2003
I have 2 dropdown boxes. The 2nd dropdown box is populated based on the 1st dropdown box the user selects. For example.

I have a list of ALL states in USA. (Dropdown box1). If a user selects a state from the state list, I want to show all the major CITIES for that state in the 2nd dropdown box without SUBMITing my form to the Server. How can I do it in Javascript?

I would prefer any samples or examples how to do it. Thank you.

Sj
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 31 2003
Added on Jul 3 2003
3 comments
585 views