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!

Need quick help to code onchange dropdowns

Status
Not open for further replies.

bper123

Programmer
Jan 24, 2006
10
US
Hi,

I'm new to javascript, but have coded HTML forms.

I need a good javascript tutorial and I need to quickly code the following:

In my form I have two dropdowns. The first is a category, the second is a subcategory.

I need to code an onchange for the first category dropdown to populate the subcategory dropdown. For example, if children is the first dropdown with categories sons and daughters, and the second dropdown is child name, on selecting the category sons the second dropdown should list the sons names only and daughters names if daughters.

This is probably very simple for you, but I need help.

Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top