Meaningless Drivel is fun!
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
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: 63866

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

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: dependent drop down list
It's not a secret anymore!