This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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: 586
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: 586
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: 586
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.
 
Don't get me started about those stupid light bulbs.
 
subject: Dropdown not populated onconverting AJAX dependency dropdown
 
Similar Threads
how to assign variable in text area?
http 500 in jsp page
AJAX Frameworks that integrate with Struts
http 500 in jsp page
Filter UserName by "Ascending/Descending options in drop down menu."