Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

using one select list to populate another

Status
Not open for further replies.

cm80

Technical User
May 3, 2001
85
0
0
US
Hi,
Sorry, this should be an easy one for most people but I can't quite figure it out. Anyway, what I have is a select list as follows

<SELECT size=&quot;1&quot; name=&quot;selCat&quot;>
<option>Option1</option>
<option>Option2</option>
<option>Option3<option>
</select>

and what I want to do is..based on what the user select in this list I want to print out another select list

so for example, If the user selects Option 1 above, they will be asked to select options from another list that will look something like the following.
<SELECT size=&quot;1&quot; name=&quot;selCat2&quot;>
<option>OptionA</option>
<option>OptionB</option>
<option>OptionC<option>
</select>

All of the options will be hard coded - I'm not trying to retrieve values from a database.

Any help would be appreciated,
thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top