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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T21:18:42+00:00 2026-05-22T21:18:42+00:00

i have three list boxes name as state,District, and college. All list boxes contains

  • 0

i have three list boxes name as state,District, and college. All list boxes contains a value as “All”. if i select all in state list box the other list boxes district and college should change as “All”. How to make it? i have done changes for two list boxes. i couldn’t make for the third one.

ex :   1. State - 
                a) xxxxxxx
                b) yyyyyyy
                c) zzzzzzz
                d) All

          2. District - 
               a) aaaaaaa
               b) bbbbbbb
               c) All

          3. College - 
               a) aaaaaaa
               b) All

see there, if i click “All” in a state list box the District and College Should come as all.
before that i have done if i click “All” in district list box the college sholud change as “All” . How to write code in onChange??

Thanks in advance.

  • 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-22T21:18:43+00:00Added an answer on May 22, 2026 at 9:18 pm

    In jQuery you could do something like this:

    <select id="state" size="3">
        <option value="0">state1</option>
        <option value="1">state2</option>
        <option value="all">All</option>
    </select>
    
    <select id="district" size="3">
        <option value="0">district1</option>
        <option value="1">district9</option>
        <option value="all">All</option>
    </select>
    
    <select id="collage" size="3">
        <option value="0">collage1</option>
        <option value="1">collage2</option>
        <option value="all">All</option>
    </select>
    
    <script type="text/javascript">
        $('#state').click(function() {
            if ($(this).val() == 'all') {
                $('#district').val('all');
                $('#collage').val('all');
            }
        });
        $('#district').click(function() {
            if ($(this).val() == 'all') $('#collage').val('all');
        });
    </script>
    

    See http://jsfiddle.net/CDMWK/3/

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

Sidebar

Related Questions

I have four controls; three DropDownList boxes and regular list box. I am gathering
I have a list of input boxes with dates (and the class name newDate)
I have three lists that I want to convert into one list. When I
I have a list of MyObjects which I need to divide into three groups:
I have a list of strings in kumo . I am printing three strings.
I have a nested list comprising ~30,000 sub-lists, each with three entries, e.g., nested_list
I have this unordered list <ul> <li>two</li> <li>three</li> </ul> Is there a way I
In my interface I have a list of text boxes, something like this :
I have two list boxes like show below, side by side. They both have
I have 4 List Boxes in my WPF App. Each of them, at any

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.