wood burning stoves 2.0*
The moose likes JSP and the fly likes dependent drop down list Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "dependent drop down list" Watch "dependent drop down list" New topic

dependent drop down list

fang eve

Joined: Jun 22, 2006
Posts: 26
i need to have 2 drop down list. my 2nd drop down list will change depending on the selection of the 1st drop down.

i know i have to use javascript onChange to change the value, but my drop down list value are getting from database. I dont want to submit the form when onChange().

How can i pass javascript value to JSP or vice versa.. Thanks
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60774

This topic has been discussed countless times before in this and the HTML forum. Please search for the previous discussions.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Don't get me started about those stupid light bulbs.
subject: dependent drop down list
Similar Threads
how to handle the mouse scroll in javascript?
Call JSP function from onchange event
dynamic drop down list values
Undefined Java Script error
dynamic list box issue