Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Struts and the fly likes Problem while implementing cascade select option in Struts2 [City/Locality/Streets] Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "Problem while implementing cascade select option in Struts2 [City/Locality/Streets]" Watch "Problem while implementing cascade select option in Struts2 [City/Locality/Streets]" New topic
Author

Problem while implementing cascade select option in Struts2 [City/Locality/Streets]

Neeraj Narayan
Greenhorn

Joined: Dec 28, 2011
Posts: 4
I am trying to implement a select drop down for City, Locality, Street. Once I select City, Locality values should change automatically. Once I select Locality, streets values should change automatically.

Here is the html code. I am using struts2 and taking values from database using hibernate. Things are working fine. Except for onchange="" I need to implement.



Here I have found a similar thread but could not get much: how to populate a list in a another select tag using a select tag using struts 2 & DOJO (ajax)

Please help me implement the onchange="". Thanks in advance.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel/download
 
subject: Problem while implementing cascade select option in Struts2 [City/Locality/Streets]
 
Similar Threads
Struts2 UI Tags Not Aligned On Browser
struts2 select and js
Data loading problem in select tag using ajax in struts2
unable to do validation for select in struts2
Struts2: Can datetimepicker be used in a plain form.