wood burning stoves 2.0*
The moose likes HTML, CSS and JavaScript and the fly likes Dynamic populating the drop down list based on the selected value of first list Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Dynamic populating the drop down list based on the selected value of first list" Watch "Dynamic populating the drop down list based on the selected value of first list" New topic
Author

Dynamic populating the drop down list based on the selected value of first list

alsoumahi alBatal
Ranch Hand

Joined: Nov 22, 2009
Posts: 94
Hi experts , I am having a problem on how to populate the drop down list based on the selected value of first list. I have one drop down list taken from database , and based on any
selection of the first one list , appropriate second list(also taken from the databae ) will be shown , how can I do that ???, I have heared to use AJAX , but really the point of AJAX
not clear to me and specially with JSP , I have looked for AJAX tutorials , I got with ASP , PHP not with JSP, could you please give me quick tutorial of how I could that

thaanks alot
.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60785
    
  65

Moved to the HTML/JavaScript forum.

Once the JSP has executed and the HTML is sent to the browser, the JSP is out of the picture and this is something you'll have to do with JavaScript and Ajax.

Please SearchFirst -- this is has been discussed many timres.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Dynamic populating the drop down list based on the selected value of first list
 
Similar Threads
coding help needed
Dynamic Drop Down Lists in Struts
Ajax DWR question (need help please)
Dynamic Drop Down Lists.
using database values to populate drop down menus