Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: dependent drop down list/box


Message #1 by "Kelvin" <kelvinteh@h...> on Sun, 25 Feb 2001 13:51:09
hi,



I am trying to create 2 drop down list/box where the chosen value in 

the first drop down list box can be used to determine the values of the 

next drop down list box.



the first drop down list has 2 options namely Multiple Choice Question and 

Short Answer Question.



If one of the value is selected, the 2nd drop down list will display 

different 

options where the options are files which are retrieved from my folders.



Furthermore, the second drop down list can only be 'activated' upon the 

selection of a choice in the first drop down list.



How can this be done using VBScript + JavaScript? Can anyone help me with 

this problem.



Your help is much appreciated. Thank you very much.



Message #2 by "Ken Schaefer" <ken@a...> on Mon, 26 Feb 2001 09:57:35 +1100
Javascript solution:

http://www.atgconsulting.com/doublelist.asp



Cheers

Ken



----- Original Message -----

From: "Kelvin" <kelvinteh@h...>

To: "ASP Web HowTo" <asp_web_howto@p...>

Sent: Sunday, February 25, 2001 1:51 PM

Subject: [asp_web_howto] dependent drop down list/box





> hi,

>

> I am trying to create 2 drop down list/box where the chosen value in

> the first drop down list box can be used to determine the values of the

> next drop down list box.

>

> the first drop down list has 2 options namely Multiple Choice Question and

> Short Answer Question.

>

> If one of the value is selected, the 2nd drop down list will display

> different

> options where the options are files which are retrieved from my folders.

>

> Furthermore, the second drop down list can only be 'activated' upon the

> selection of a choice in the first drop down list.

>

> How can this be done using VBScript + JavaScript? Can anyone help me with

> this problem.

>

> Your help is much appreciated. Thank you very much.





Message #3 by "Alex Shiell, ITS, EC, SE" <alex.shiell@s...> on Mon, 26 Feb 2001 16:21:45 -0000
build up each of the possible second drop down lists, and then layer them on

top of each other, and keep them hidden.  When a selection is made from the

first drop down, display the appropriate second drop down.



-----Original Message-----

From: Kelvin [mailto:kelvinteh@h...]

Sent: Sunday, February 25, 2001 1:51 PM

To: ASP Web HowTo

Subject: [asp_web_howto] dependent drop down list/box





hi,



I am trying to create 2 drop down list/box where the chosen value in 

the first drop down list box can be used to determine the values of the 

next drop down list box.



the first drop down list has 2 options namely Multiple Choice Question and 

Short Answer Question.



If one of the value is selected, the 2nd drop down list will display 

different 

options where the options are files which are retrieved from my folders.



Furthermore, the second drop down list can only be 'activated' upon the 

selection of a choice in the first drop down list.



How can this be done using VBScript + JavaScript? Can anyone help me with 

this problem.



Your help is much appreciated. Thank you very much.



________________________________________________________________________

Scottish Enterprise Network

http://www.scottish-enterprise.com


  Return to Index