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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T08:44:07+00:00 2026-06-09T08:44:07+00:00

Possible Duplicate: Select values of checkbox group with jQuery I’m looking to select a

  • 0

Possible Duplicate:
Select values of checkbox group with jQuery

I’m looking to select a checkbox by value using JQuery. I don’t want to loop through all of the values to see if the value is in the collection. I may have a bunch of checkboxes so this would only slow down the whole process. Thanks in advance.


To clarify more I was looking was this. I have a dropdown which contain aggregate rooms. Each of these rooms are made up up multiple singular rooms. So we may have in the dropdown something like

Aggregate Room AB
Aggregate Room BC
Aggregate Room ABCD

below this is a list of checkboxes that represent a singular room

Room A
Room B
Room C
Room D

What I was trying to accomplish was to have the bottom checkboxes selected when the top aggregate rooms were selected. So if I picked Aggregate Room AB the checkboxes below would pick Room A and Room B.

My solution was as follows: http://jsfiddle.net/xkXSx/43/

Thanks for the kind responses.

  • 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-09T08:44:08+00:00Added an answer on June 9, 2026 at 8:44 am
    $('input:checkbox[value="your_value"]').prop('checked', true);​
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: Select values of checkbox group with jQuery In HTML I have a
Possible Duplicate: Jquery Add Values to Select Options How can I empty a dropdown,
Possible Duplicate: Hide select option in IE using jQuery So as you can see
Possible Duplicate: jquery: select the last 4 items in the list jQuery has the
Possible Duplicate: How to select html nodes by ID with jquery when the id
Possible Duplicate: How do I randomly select an item from a list using Python?
Possible Duplicate: LINQ - Where not exists I'm using LINQ2SQL and I want to
Possible Duplicate: MySQL query using an array How to use an array of values
Possible Duplicate: How to access object using dynamic key? I have multiple select with
Possible Duplicate: XPATH problem with dom4j I am using dom4j to overwrite a value

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.