Dan, I'm not sure what the question is exactly.  Some javascript is required
in the browser if you want some action to happen by *simply* selecting an
item.  That is, you need minimally the onChange event for the SELECT tag.
Without that, you would have to have a two step process: display the first
list, submit, display the second list -- and this can be done with any
server-side code.

-----Original Message-----
From: dan61psu [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 12, 2002 10:44 AM
To: [EMAIL PROTECTED]
Subject: Making One Selection List Dictate Another's Contents


Ok, I know this is probably not able to be done in PERL, but 
maybe...I am dealing with an application that will be used from a 
Pocket PC, meaning Internet Explorer CE, meaning no Dynamic functions 
or DHTML.  Therefore, I am running into alot of dead ends with 
JavaScript.  Maybe you guys might have an answer for me...

I want to have 2 selection lists on my page, one of which is 
the "parent" list and the other is the "child" list.

When a user would select one choice from the first list (parent list) 
the script would populate the options for the child list based on the 
first lists's choice.  For example, I have A, B, C, and D in the 
first list and the second list is disabled (i have the code for that 
all taken care of) until one of those A, B, C or D choices is made.  
Lets say B is chosen. After B is chosen, Cat and Dog show up in the 
child list.  Or, I choose D from the parent list and then Snake and 
Rabbit show up in the "child" list.

Note:  This is just an example of how to do this...i mainly just want 
to have control over making the user select a choice from the parent 
list, and then having a child list enabled with the contents of that 
child list specific to what was chosen in the parent list.  Anyway to 
do this would be fine...

ALSO...VERY IMPORTANT...this application is being developed for use 
with Pocket PC's, which means Internet Explorer CE, which in turn 
means, NO Dynamic functions or DHTML supported...i wish i could use 
it, but i cant!  any way to do this???


Thanks in advance for the help.

Dan Augustine
RLW, Inc.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to