aspose file tools*
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 Java 8 in Action this week in the Java 8 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: 8715
    
    6

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.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Dependent drop down boxes with javascript?
 
Similar Threads
Cannot find bean in any scope
Problem with Struts html:select
JspException: Failed to obtain specified collection for Struts:optionscollection
Submitting hidden values on the form with onSelect option
please help "javax.servlet.jsp.JspException: Failed to obtain specified collection"