hey
simple syntext error
try this:
<SELECT NAME=choose SIZE=1>
<OPTION VALUE=0 SELECTED>Pick One
<OPTION VALUE=1>Colors
<OPTION VALUE=2>Numbers
<OPTION VALUE=3>People
</SELECT>
<SELECT NAME=colors SIZE=1>
<OPTION VALUE=0 SELECTED>red
<OPTION VALUE=1>blue
<OPTION VALUE=2>green
</SELECT>
note </select>, NOT </selected>
hope this helps
colin horne
----- Original Message -----
From: "Tom Nocer" <chevelleneeded@y...>
To: "javascript" <javascript@p...>
Sent: Saturday, January 25, 2003 5:55 AM
Subject: [javascript] Dropdown Boxes
> I am having a problem with dropdown boxes. I would like to have 2
> dropdown boxes on a page so that the user can pick an item from the first
> dropdown box and then the second one would refresh a list of items that
> corresponds.
>
> EX: 1st box you choose 'Colors' 2nd box displays 'red, blue, green, ect'.
>
>
> <SELECT NAME=choose SIZE=1>
> <OPTION VALUE=0 SELECTED>Pick One
> <OPTION VALUE=1>Colors
> <OPTION VALUE=2>Numbers
> <OPTION VALUE=3>People
> </SELECTED>
>
>
> <SELECT NAME=colors SIZE=1>
> <OPTION VALUE=0 SELECTED>red
> <OPTION VALUE=1>blue
> <OPTION VALUE=2>green
> </SELECTED>
>
> Maybe its just me but I cant seem to get the 2nd box to be the right one
> the user chose from the first??? And then when they pick from the second
> box I cant get it to link to that page? Please Help.
>
> Thanks Tom