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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T14:06:53+00:00 2026-05-14T14:06:53+00:00

I am attempting to hide this checkbox, which is a check all checkbox in

  • 0

I am attempting to hide this checkbox, which is a check all checkbox in my table header, using jQuery but am not having much luck.

The view source of the section I am trying to hide from the user is as follows:

<th class="t12subheader" id="CHECK$01"><label for="x01" class="hideMe508">Check All</label><input type="checkbox" name="x02" value="1" onclick="checkAll(this)" /></th>

I have tried both:

$('#x01, label[for="x01"]').hide ();  &
$('#x01').hide ();

to no avail.

Also, does it matter the positioning of hiding this checkbox?

  • 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-14T14:06:54+00:00Added an answer on May 14, 2026 at 2:06 pm

    Your label hiding is ok, however the checkbox won’t work since it doesn’t have id="x01", at least in your pasted code. It does have name="x02" so you can find/hide it via that, like this:

    $('input[name="x02"], label[for="x01"]').hide();​
    

    I’m guessing you meant the label to go with the input, in which case the checkbox should have a matching id to the label’s for, like this:

    <input type="checkbox" id="x01" name="x02" value="1" onclick="checkAll(this)" />
    

    Then your selector would be:

    $('#x01, label[for="x01"]').hide();
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am attempting to hide some rows in an excel sheet using C#. but
I have a table for which I am attempting to select all rows which
I'm attempting to hide all li 's within a div which is dynamically generated
I am attempting a one page design using loads of jQuery. I have a
I'm attempting to use a side navigation to display table rows by category using
I am attempting to hide certain elements using the combination of keyup with contains.
I am attempting to hide the document name from the user by using a
I have a very simple JavaScript operation which is just not working. I'm using
I'm attempting to use an XBAP to acquire TWAIN Images but I'm not even
Attempting to insert an escape character into a table results in a warning. For

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.