aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 60049

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]
I agree. Here's the link:
subject: dependent drop down list
Similar Threads
dynamic drop down list values
Undefined Java Script error
dynamic list box issue
how to handle the mouse scroll in javascript?
Call JSP function from onchange event