Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3699306
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T05:05:13+00:00 2026-05-19T05:05:13+00:00

For example take a look at http://katz.cd/submit.php . Notice when you select a type,

  • 0

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?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T05:05:13+00:00Added an answer on May 19, 2026 at 5:05 am

    Here’s how they did it, taken straight from their HTML source:

    function doal(){
        var se = document.getElementsByName("type[]");
    
        for (var i = 0; i < se.length; i++){
            se[i].value = document.getElementById("seX").value;
        }
    }
    

    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:

    function changeAll(){
        var toChange = document.getElementsByName("others");
    
        for (var i = 0; i < toChange.length; i++){
            toChange[i].value = document.getElementById("main").value;
        }
    }
    

    EDIT: Also, in case you don’t know onChange events, it would look something like this:

    <select id="main" onChange="changeAll()">
      <option>Example</option>
    </select>
    
    <select id="others">
      <option>Example</option>
    </select>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Example: http://bit.ly/dfjvmT If you take a look at that URL, you will see an
Take a look at this example: http://www.extjs.com/deploy/dev/examples/multiselect/multiselect-demo.html On it, there are components rendered against
take a look at this example code: public class Comment { private Comment() {
I've convinced myself that they can't. Take for example: 4 4 + 4 /
Take a very simple case as an example, say I have this URL: http://www.example.com/65167.html
Please take a look here: http://www.binarymark.com/Products/FLVDownloader/order.aspx What I am trying to do is to
Please take a look at this spider example in Scrapy documentation. The explanation is:
Take a look at this example code, which doesn't work: <?xml version='1.0' encoding='UTF-8' ?>
You can take a look at the app I'm referring to at: http://github.com/585connor/QA So,
First, take a quick look at my other question ( part 1 ). It

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.