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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T03:10:01+00:00 2026-05-30T03:10:01+00:00

I have 5 HTML select boxes that are all populated with the same data,

  • 0

I have 5 HTML select boxes that are all populated with the same data, so not a “chained select”.

I want to have select2 disabled until select1 has been picked and select 3 disabled until SELECTS 1 & 2 have been picked, etc.

My SELECT IDs are:

  • primary (1)
  • record1 (2)
  • record2 (3)
  • record3 (4)
  • record4 (5)

The default value of all the SELECTS is “Select Job”

If a SELECT has ANY OTHER value than “Select Job” then the next SELECT in line can become active.

Not really sure how to do this in jQuery

  • 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-30T03:10:03+00:00Added an answer on May 30, 2026 at 3:10 am

    Here is a solution which is independent of how they appear on the page. It could be simplified if the select boxes are always sure to appear in the correct order. jsFiddle

    var linkOrder = [
        "primary",
        "record1",
        "record2",
        "record3",
        "record4"
    ];
    $('select.linked').not('#' + linkOrder[0]).attr('disabled', 'disabled');
    $('.linked').change(function(){
        var id = $(this).attr('id');
        var index = $.inArray(id, linkOrder);
        $('#' + linkOrder[index+1]).removeAttr('disabled');
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a mini form that consists of all select boxes and checkbox lists.
I have a html combo/select. When the user selects a element, I want to
I have this HTML structure (excerpt): <td> <select id=test1 class=pub_chooser> <option value=99>All Publications</option> <option
I have several select boxes and textboxes with the same class and I have
I have a form with a table that has two input boxes, a select
I have 3 drop down boxes, created using the HTML select tag. On page
I have two HTML select boxes. The first is called #1 and the second
I have a set of three combo boxes (drop downs) that are populated by
I have a lists of html select boxes say 30. I need to give
Does the HTML select element have an on select event? what exactly is the

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.