This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes Dropdown List onchange event 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 » Frameworks » Struts
Bookmark "Dropdown List onchange event" Watch "Dropdown List onchange event" New topic

Dropdown List onchange event

haritha hari

Joined: Nov 14, 2012
Posts: 29

Hai all

I have 2 dropdown lists in a jsp page

I have dout on drop down list used in jsp...

Please tell me the solution for

If i select one option in fist list based on that option the values in next drop down list will be changed

this problem


jatan bhavsar
Ranch Hand

Joined: Jul 23, 2008
Posts: 296


You can do this with javascript. Many references are available online.
Struts has nothing to do with this.

haritha hari

Joined: Nov 14, 2012
Posts: 29


Don't get me started about those stupid light bulbs.
subject: Dropdown List onchange event
Similar Threads
index of option
index of option
JSP code to select a drop down item
Ajax drop down
getting values into the drop down list from database