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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T20:18:44+00:00 2026-05-11T20:18:44+00:00

I have 3 SELECT drop down SELECT 1 <select> <option value=volvo>Volvo</option> <option value=saab>Saab</option> <option

  • 0

I have 3 SELECT drop down

SELECT 1

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

SELECT 2

<select type="hidden">
  <option value="Sadan">Volvo</option>
  <option value="Sadan">Saab</option>
  <option value="Sport">Mercedes</option>
  <option value="Sport">Audi</option>
</select>

SELECT 3

<select>
  <option value="1000">Sport</option>
  <option value="2000">Sadan</option>
</select>

SELECT 2 is hidden in the background (This is due to the JSP/Struts limitation).

What I need is a way if the user selects SELECT 1 option that SELECT 2 corresponding option would be selected and then SELECT 3 corresponding option would be selected.

EXAMPLE:

User selects SELECT 1 option <option value="mercedes">Mercedes</option>

EXPECTED RESULTS:

SELECT 2 auto selected option <option value="Sport">Mercedes</option>

AND

SELECT 3 auto selected option <option value="1000">Sport</option>

  • 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-11T20:18:44+00:00Added an answer on May 11, 2026 at 8:18 pm

    This is pretty much it. I’ll work up an example.

    $('#select1').change(function() {
       $('#select2').val($('#select1').val());
       $('#select3').val($('#select2').val());
    });
    

    Edit: The example: http://jsbin.com/ahema

    And TStamper has a very good point, make sure you put in the ID, or it won’t work. (you can see that in the example)

    <select --> id="select2" <-- type="hidden">
      <option value="Sadan">Volvo</option>
      <option value="Sadan">Saab</option>
      <option value="Sport">Mercedes</option>
      <option value="Sport">Audi</option>
    </select>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So I have a dropdown list <select id=theSelectId> <option value=volvo>Volvo</option> <option value=saab>Saab</option> <option value=mercedes>Mercedes</option>
I have this Code For example: <select > <option value=volvo>Volvo</option> <option value=saab>Saab</option> <option value=mercedes>Mercedes</option>
I have the following drop down list: <select name=selSS1 id=select_value> <option value=val0>sea zero</option> <option
I have this drop-down list of countries: <select name=country> <option value=>Country...</option> <option value=Afganistan>Afghanistan</option> <option
Suppose I have a drop-down list like: <select id='list'> <option value='1'>Option A</option> <option value='2'>Option
When I have simple drop down box <select id=fruits> <option value=apple>Apple</option> <option value=orange>Orange</option> <option
I have a drop-down list with numerical values: <select name=a> <option value=1>asdsadas</option> <option value=1>wqecsdc</option>
I have a drop down list <select onchange=alert(this.value);> <option selected=selected value=cat>cat</option> <option value=dog>dog</option> </select>
Ok here goes: I have a SELECT drop down option with US state names
On my page I have a drop-down select box, with a default value of

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.