Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Dropdown not populated onconverting AJAX dependency dropdown

 
Monica Shiralkar
Ranch Hand
Posts: 842
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: 842
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: 842
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic