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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T12:58:09+00:00 2026-06-12T12:58:09+00:00

Alright, so I recently found this script called Selectivizr and I was really excited,

  • 0

Alright, so I recently found this script called “Selectivizr” and I was really excited, but I plugged it into my project, set it up just as it said, and it didn’t work.

So, what I am looking for is any sort of JavaScript library/script that will allow me to use CSS3 selectors (especially :checked) in IE8.

Selectivizr seems broken, and hasn’t been updated in over a year. Has anybody else had luck with it?

Does anybody know of any other scripts that will allow for use of CSS3 selectors in IE8?

Not looking for CSS3 stylings like border radius, shadows, etc. Just looking for the selectors, like :before, :after, :checked, etc…

  • 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-12T12:58:10+00:00Added an answer on June 12, 2026 at 12:58 pm

    With jQuery code, you can use these few lines to toggle a class on all your checkboxes (or on it’s container) any time it’s checked or unchecked. This then lets you use regular CSS code in all browsers.

    $("input[type='checkbox']").click(function() {
        $(this).parent().toggleClass("checked", this.checked);
    });​
    

    Working example here: http://jsfiddle.net/jfriend00/7jA5r/.

    If you dynamically create checkboxes, then you could use the dynamic form of .on() to make sure to catch them.

    I would personally rather use a solution with a few lines of code like this than use a heavy library that tries to add CSS style file capabilities. If you were going to use that, make sure you understand what’s really going on under the covers before you adopt it.


    If you just wanted a selector libraryby itself, the Sizzle selector library works across a wide variety of browsers including all the way back to IE6. It will adapt to the capabilities of the host browser, using as many built-in capabilities as are present and using it’s own code when the host browser does not support an explicit capability.

    You can use just the selector library itself from here or it is also the selector library inside of jQuery.

    It’s extremely simple to use. You just do something like this:

    var items = Sizzle(":checked");
    

    and you will have an array of DOM elements that match the selector.

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

Sidebar

Related Questions

Alright well I recently got into normalizing my database for this little side project
Alright, i had this homework recently (don't worry, i've already done it, but in
Alright, so this is probably a really beginner problem here, but I've never actually
Alright, so recently I was using Notepad++ for all of my programming needs, but
Alright, this is driving me nuts because my regex is working on Rubular, but
Alright so I have no idea how to even begin doing this But basically
Alright I created some custom classes for my project sourced from this tutorial ,
Alright, I know questions like this have probably been asked dozens of times, but
Alright, I recently wrote a ajax push script which had php on the backend
Alright, I've just finished normalizing a table. What I didn't really consider when I

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.