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 7677017
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T17:19:45+00:00 2026-05-31T17:19:45+00:00

So basically I need to make feature that if you select something from first

  • 0

So basically I need to make feature that if you select something from first select box, it will be automatically selected in second select box too, and if you will change anything in second select box, it will be changed automatically in first select box too. Here is how far I’m currently am, I have fixed, if someoen changes the first select box value, but I’m not sure how to make the second select box value the same as first, and vice versa. – http://jsfiddle.net/3Tt7N/5/

Hope you can help me with 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-31T17:19:46+00:00Added an answer on May 31, 2026 at 5:19 pm

    Basically, what you need to do is gather the value ‘.val()’ of the first table, and set that as the parameter for the second tables’ .val(). It could potentially look like this

    $("#table2").val( $("#table1").val(cars) ); 
    

    But that’s just ugly… so instead, we assign it to a var (one you chose to name cars) and pass that variable into the corresponding tables ‘.val()’ method.

    $("#table1").change( function() {
      var cars = $("#table1").val();
      $("#table2").val(cars);
    });
    
    $("#table2").change( function() {
      var cars = $("#table2").val();
      $("#table1").val(cars);
    });
    

    Proof: http://jsfiddle.net/iredmedia/jPNYK/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to make an Android app that will take data from my college
So basically I'm making a program in C# and I need to make a
basically need to change the value that - admin_url() returns any idea?
Basically I need to setup my ASMX file so that when I pull it
Basically, what I'm trying to do is simply make a small script that accesses
I'm facing the following issue: I need to make a call from my controller
I am basically a dotnet developer(beginner). I need to make an IE addon just
Basically need to generate custom(some different then yes no) messeges(alert) in JS , how
I basically need to check if there is an easier way to do this
Basically I need to connect to the database without any existing databases. In SQL,

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.