aspose file tools
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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply 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: 84
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: 56204
    
  13

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.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Dynamic populating the drop down list based on the selected value of first list
 
Similar Threads
Dynamic Drop Down Lists in Struts
using database values to populate drop down menus
Dynamic Drop Down Lists.
Ajax DWR question (need help please)
coding help needed