File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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
Don't get me started about those stupid
subject: Ajax call to update the drop down list on selecting other select
Java Script Drop-down option deletion but little bit different
Validating Mutiple fields in the list Box
How to display Ajax result on the same jsp page
Select box get refresh after populating the data into a table.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015