Javascript: Remove different option-tags from a dropdown list depending on another dropdown?
Yeah, the title is a mess. Here's what i'm trying to do: I have one main dropdown list where i can choose between, let's say, two options. Option1, and Option2. If Option1 is selected, i don't want anything to happen. If Option2 is selected, i want to remove one option-tag from another dropdown list. <select name="main_dropdown"> <...