Only 44 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Dropdown not populated onconverting AJAX dependency dropdown  RSS feed

 
Monica Shiralkar
Ranch Hand
Posts: 886
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 886
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 886
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!