I have a JSP page where I placed a dropdownlist with different options. How can I display information corresponding to a project from database, once I choose the city in the dropdownlist without loading the page? Do I need JavaScript to do that?
Asked
Active
Viewed 57 times
3
-
Please provide more details, some code, what have you already tried? So people here can help you and lead you to the right solution, otherwise your question will be downvoted or maybe closed. – cнŝdk May 20 '15 at 09:53
-
Yes, of course you need javascript – Afsun Khammadli May 20 '15 at 10:12
-
I have tried several code yesterday but with no results. Once i finish the code i'm workin on it right now i ll post it. Thank u – salma May 20 '15 at 10:23
-
And to answer your question, yes with `Javascript` and the `onchange` event of the dropdown list you can change the displayed information according to the selected value from your dropdown list. – cнŝdk May 20 '15 at 10:23