This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes Struts and the fly likes Dependent drop down boxes with javascript? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Dependent drop down boxes with javascript?" Watch "Dependent drop down boxes with javascript?" New topic
Author

Dependent drop down boxes with javascript?

karthik ekantha
Ranch Hand

Joined: Feb 08, 2012
Posts: 78
I am new to Struts. I need to implement dependent drop down boxes.


it's not working for Dependent drop down boxes 2nd state drop box is not properly working ..


2nd drop down box not orderly displayed ...
please help any one








Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 9138
    
    9

Your javascript code submits the form. It doesn't make the second select dependent on the first.
Struts 2 has a doubleselect tag. If you aren't maintaining legacy code, I'd recommend you use Struts 2. It is much easier to work with than Struts 1.x.


[How To Ask Questions On JavaRanch]
 
Have you checked out Aspose?
 
subject: Dependent drop down boxes with javascript?
 
It's not a secret anymore!