This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Customer Requirements for Developers and have Marcho Behler on-line!
See this thread for details.
The moose likes Struts and the fly likes Dropdown not populated onconverting AJAX dependency dropdown Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Dropdown not populated onconverting AJAX dependency dropdown" Watch "Dropdown not populated onconverting AJAX dependency dropdown" New topic
Author

Dropdown not populated onconverting AJAX dependency dropdown

Monica Shiralkar
Ranch Hand

Joined: Jul 07, 2012
Posts: 764
I ran an example of dependency dropdown using Javascript, AJAX. Now I am trying to convert it to use Jquery and AJAX. I am new to jquery. The second dropdown is not getting populated. Below is my code.

I am using Jquery2.
selectCountry.jsp




Struts.xml






PopulateCities.java

(Ajax action)





(Javascript)
user.js




thanks


Monica Shiralkar
Ranch Hand

Joined: Jul 07, 2012
Posts: 764
I think since it involves struts2,AJAX,JQuery, I will have to break it further into the problem area to resolve.
Monica Shiralkar
Ranch Hand

Joined: Jul 07, 2012
Posts: 764
The reason I am not able to make much progress in this is that I am not getting any error messages to help me isolate and solve the issue.
 
wood burning stoves
 
subject: Dropdown not populated onconverting AJAX dependency dropdown
 
It's not a secret anymore!