A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java SE 8 for the Really Impatient
this week in the
Ajax call to update the drop down list on selecting other select
Joined: Jan 25, 2012
Nov 18, 2012 16:59:42
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.
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.
Author and ninkuma
Joined: Jan 10, 2002
Nov 18, 2012 17:02:46
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.
Asking smart questions
Books by Bear
I agree. Here's the link:
subject: Ajax call to update the drop down list on selecting other select
Validating Mutiple fields in the list Box
Java Script Drop-down option deletion but little bit different
Select box get refresh after populating the data into a table.
How to display Ajax result on the same jsp page
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014