By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,299 Members | 1,247 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,299 IT Pros & Developers. It's quick & easy.

javascript with jsp

P: 3
This is santosh
I have developed a jsp page in that I have used a combobox.When i selected a value(ID) in combo box then it automatically retrieve corresponding value(name) of a employee from database beside the combo box. plz help me to solve this or give me a example program for this.
ThanQ
Nov 19 '08 #1
Share this Question
Share on Google+
4 Replies


10K+
P: 13,264
If the names come from the database then you need to go to the database when that id is selected. The best way would be to do it without posting the whole page i.e using AJAX.
Nov 19 '08 #2

P: 3
If the names come from the database then you need to go to the database when that id is selected. The best way would be to do it without posting the whole page i.e using AJAX.

ThanQ for your reply.But i don't know ajax.could please give me an example program for this
Nov 19 '08 #3

10K+
P: 13,264
ThanQ for your reply.But i don't know ajax.could please give me an example program for this
There should be lots of examples if you look around.

P.S I'll just move this to the Javascript/AJAX forum.
Nov 19 '08 #4

acoder
Expert Mod 15k+
P: 16,027
ThanQ for your reply.But i don't know ajax.could please give me an example program for this
Here's a simple example. Also check out the links in the Off-site Links sticky thread.
Nov 19 '08 #5

Post your reply

Sign in to post your reply or Sign up for a free account.