Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Ajax call to update the drop down list on selecting other select

 
chaitanya sri
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I need some directions on making a ajax call on selecting an option from one select box so that the other select box options should be updated according to the option selected.

Example:

If i select "A" in one select box. The other select box should have Names starting with "A".

Please give me some reference or directions in doing this. Thank you.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64688
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Assuming you will use jQuery (highly recommended over doing it "by hand") download the free example code for my book.. The code for chapter 8 has examples for cascading drop downs.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic