|
Subject:
|
how to build a dynamic list
|
|
Posted By:
|
javacal
|
Post Date:
|
9/12/2003 4:03:38 AM
|
Hello,
Scenario I have two drop down lists which are populated via a database. One is static and the other is populated according to the value selected from the static list. When the page is shown to the user both lists should be displayed ready for the user to choose from the static list.
What I have so far is two lists displayed and an 'on change' event from the static list to populate the dynamic list. I have attempted to populate the dynamic list via a procedure embedded in the <BODY> and as a VB Script neither of them seem to be executing.
I assume there is no problem in calling a VB Script from an 'on change' event?
My question is:- Does anybody have some example code I could look at or perhaps just some outline guidance.
Thanks Ian King
|
|
Reply By:
|
aware
|
Reply Date:
|
9/16/2003 10:10:55 AM
|
Hi
www.4guysfromrolla.com
had an example of this - titled dynamic dropdowns or something similar. If you've not seen their site before, you will cetianly go back again.
Regards
Andy
|
|
Reply By:
|
Imar
|
Reply Date:
|
9/16/2003 12:29:58 PM
|
Hi there,
Check out the following two tutorials; I think they may be just what you need:
http://www.asp101.com/samples/db_pulldown_linked.asp?id=2&sale=
http://www.atgconsulting.com/triplelist.asp
Cheers,
Imar
--------------------------------------- Imar Spaanjaars Everyone is unique, except for me.
|
|
Reply By:
|
javacal
|
Reply Date:
|
9/18/2003 4:16:07 AM
|
Imar,
thanks for the links. I am sure they are going to very useful.
Regards Ian King
quote: Originally posted by Imar
Hi there,
Check out the following two tutorials; I think they may be just what you need:
http://www.asp101.com/samples/db_pulldown_linked.asp?id=2&sale=
http://www.atgconsulting.com/triplelist.asp
Cheers,
Imar
--------------------------------------- Imar Spaanjaars Everyone is unique, except for me.
|
|
Reply By:
|
javacal
|
Reply Date:
|
9/18/2003 4:18:00 AM
|
Andy,
thanks for the link.
Regards Ian King
quote: Originally posted by aware
Hi
www.4guysfromrolla.com
had an example of this - titled dynamic dropdowns or something similar. If you've not seen their site before, you will cetianly go back again.
Regards
Andy
|