Return to Snippet

Revision: 22175
at January 4, 2010 19:20 by smoothdzion

Initial Code
var tog = false; // or true if they are checked on load 
 $('a').click(function() { 
  tog = !tog; 

Initial URL

Initial Description
Great short snippet of code to toggle checkboxes.
Thanks 	[Josh Nathanson]( for putting this simple code together.

Initial Title
jQuery - Toggle All Checkboxes

Initial Tags

Initial Language