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.
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.