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

  • Home
  • SEARCH
  • 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 8304043
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T17:42:43+00:00 2026-06-08T17:42:43+00:00

If I have two selects like this? <select id=A> <option value=volvo>Volvo</option> <option value=saab>Saab</option> <option

  • 0

If I have two selects like this?

<select id="A">
  <option value="volvo">Volvo</option>
  <option value="saab">Saab</option>
  <option value="mercedes">Mercedes</option>
  <option value="audi">Audi</option>
</select>

<select id="B">
  <option value="volvo">Volvo</option>
  <option value="saab">Saab</option>
  <option value="mercedes">Mercedes</option>
  <option value="audi">Audi</option>
</select>

How can I transfer the selected value and text from select A to select B. I don’t want this to happen in response to any change or click. I just need some way that I can at a later time sync what appears in the select B window to what’s in select A

  • 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-06-08T17:42:44+00:00Added an answer on June 8, 2026 at 5:42 pm

    If your two selects are same then:

    You can simply try this:

      $('#B').val( $('#A').val() );
    

    You can make it through a function call also:

    function changeValue() {
      $('#B').val( $('#A').val() );
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So I have two multiple select boxes like this <select id=foo multiple=multiple> <option value=1>Option
Imagine, for a moment <select> <option value=volvo>Volvo</option> <option value=saab>Saab</option> <option value=mercedes>Mercedes</option> <option value=audi>Audi</option> </select>
i have two table like this <table> <tr> <td> <select name=prueba id=prueba class=ddlStyles> <option
I have this code here : <select id=test> <option value=1>test1</option> <option value=2 selected=selected>test2</option> <option
I have two select elements, A and B: when A's selected option changes, B's
I have a dropdown like so: <select id=dropdownList> <option val=1>Item One</option> <option val=2>Item Two</option>
I have SP that selects data from a table with two columns like this
I have two select lists, I would like jquery to either remove or disable
I have two mysql queries: $sql = SELECT * FROM content WHERE threadName LIKE
I have two queries with subqueries for dateparts which I like to join. SELECT

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.