For example take a look at http://katz.cd/submit.php. Notice when you select a type, that type is carried through to all the other type dropdown menus.
How do I do this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Here’s how they did it, taken straight from their HTML source:
Each drop down has the same name in their case, which is “type[]”. “seX” is their main drop down. getElementsByName() puts the found elements into the array which they’ve named “se”. This is all an onChange event. So say you had a main dropdown called “main” and others that “main” changed, let’s call them “others”. Your function could look like this:
EDIT: Also, in case you don’t know onChange events, it would look something like this: