Populate List Box base on Combo Box Selection

A

Adrian

Hi
I kind of new here, but how do i get a value from a combo box and populate a list box base on the selected value from a combo box? If possible can i get a sample coding Thank you.

regards
Adria
Email : (e-mail address removed)
 
B

Bullschmidt

Some ways to do a dependent list box are the following:
1) Reload a self-posting form (advantage: clean and fairly easy,
disadvantage: form has to reload).
2) Send all the data down to the form and let JavaScript do the work
(disadvantage: sends all the data to the form).
3) Remote scripting (disadvantage: may have security risks).
4) Hidden frames (disadvantage: complicated).

As for myself I like to keep it simple and just let the page post to
itself and then show the info in the 2nd list box based on the posted
value from the first.

ASP Design Tips - Dependent Listboxes
http://www.bullschmidt.com/devtip-dependentlistboxes.asp

Best regards,
J. Paul Schmidt, Freelance ASP Web Developer
http://www.Bullschmidt.com
ASP Design Tips, ASP Web Database Demo, Free ASP Bar Chart Tool...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,996
Messages
2,570,238
Members
46,826
Latest member
robinsontor

Latest Threads

Top