Forums Register Login

getting values in combobox from database without refreshing

+Pie Number of slices to send: Send
Hi all...
I'm new to JSP. What i'm trying here is that to retrieve data from oracle database to my jsp combo boxes.
The problem is:

I have 3 combo boxes i.e state,city,locality and these combo boxes are linked with one another. for example: This is how it should happen:selecting STATE...triggers a query and CITY gets it values accordingy. same for CITY & LOCALITY and so on.

stage2:i also want to update my combo box without refreshing my page.I think it is possible by combining javascript and jsp.

+Pie Number of slices to send: Send
Ajax
+Pie Number of slices to send: Send
yes ajax but how we can use it...
if possible please explain or send me demo code
+Pie Number of slices to send: Send
Please take the time to choose the correct forum for your posts. This forum is for questions on JSP.

For more information, please read this.

This post has been moved to a more appropriate forum.
+Pie Number of slices to send: Send
Also, please read this.

And there is no such thing as a "combo box" in HTML. Please use correct terms. Please read this for more information.

Examples of cascading dropdowns are all over the web. Have you done a search?
We've gotta get close enough to that helmet to pull the choke on it's engine and flood his mind! Or, we could just read this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 2304 times.
Similar Threads
Grails Enum derived forms
Selecting Combo Box
combo boxes and iterator
jsp include:
About combo boxes and refressing data UrlyBird
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 05:39:12.