Hey. I'm working on a project in which I need one drop down menu to change according to a selection made in another. The problem is, I don't have a damn clue how. Let's for example say I have this simple code:
Ok, so no matter what they select in the category menu, 1a, 1b and 1c will be showed in the subcategory menu. My question is, if I have 2 other sets of menu options that correspond to the other 2 category options, how do I update the second menu to display them?
Thank you in advance for your help.
HTML:
<select name="category">
<option>1</option>
<option>2</option>
<option>3</option>
</select>
<select name="subcategory">
<option>1a</option>
<option>1b</option>
<option>1c</option>
</select>
Thank you in advance for your help.







