Front End

Toggle All Checkboxes Using jQuery

March 8, 2013
Front End

I needed to perform a mundane task of going to a large number of pages, with a large number of check-boxes selected at random, and flipping them in the opposite order. So if I had 3 check-boxes, out of which two were selected like this: I would need to flip them so it would look like this: Here is a Codepen to demonstrate how it works: See the Pen Simple jQuery Code to Flip all Checkboxes by Alex (@akras14) on CodePen. ...