<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/tags/checkboxes</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Fri, 24 May 2013 23:08:40 GMT</pubDate>
<item>
<title>(JavaScript) Shift+Click to Select/Deselect Checkboxes. - ReedD19</title>
<link>http://snipplr.com/view/67570/shiftclick-to-selectdeselect-checkboxes/</link>
<description><![CDATA[ <p>Allows you to click a given checkbox X, then shift click another checkbox Y. All checkboxes between X and Y will be checked or unchecked based on the state of checkbox Y. i.e. if you're unchecking Y all boxes between X and Y will also be unchecked.</p> ]]></description>
<pubDate>Wed, 03 Oct 2012 03:48:59 GMT</pubDate>
<guid>http://snipplr.com/view/67570/shiftclick-to-selectdeselect-checkboxes/</guid>
</item>
<item>
<title>(JavaScript) jQuery \"Check All\" - dnnsldr</title>
<link>http://snipplr.com/view/66862/jquery-check-all/</link>
<description><![CDATA[ <p>How does it work?

This code checks/unchecks all checkboxes within the same fieldset. Simple and semantic.
HTML Setup

Add checkboxes however you like, just make sure they are within the same fieldset.


    
     Check all
     Checkbox
     Checkbox
     Checkbox


    
     Checkbox
     Checkbox
     Checkbox
</p> ]]></description>
<pubDate>Thu, 23 Aug 2012 01:27:07 GMT</pubDate>
<guid>http://snipplr.com/view/66862/jquery-check-all/</guid>
</item>
<item>
<title>(jQuery) Two level JQuery check and uncheck all child checkboxes of a parent checkbox - jeremybiros</title>
<link>http://snipplr.com/view/48119/two-level-jquery-check-and-uncheck-all-child-checkboxes-of-a-parent-checkbox/</link>
<description><![CDATA[ <p>Allows you to check or uncheck a checkbox and select or deselect all child checkboxes beneath it.</p> ]]></description>
<pubDate>Mon, 31 Jan 2011 05:04:18 GMT</pubDate>
<guid>http://snipplr.com/view/48119/two-level-jquery-check-and-uncheck-all-child-checkboxes-of-a-parent-checkbox/</guid>
</item>
<item>
<title>(HTML) Processing Checkbox Group - danhanly</title>
<link>http://snipplr.com/view/47545/processing-checkbox-group/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 20 Jan 2011 01:27:24 GMT</pubDate>
<guid>http://snipplr.com/view/47545/processing-checkbox-group/</guid>
</item>
<item>
<title>(JavaScript) require one of three Salsa group checkboxes to be selected - powerthru</title>
<link>http://snipplr.com/view/42112/require-one-of-three-salsa-group-checkboxes-to-be-selected/</link>
<description><![CDATA[ <p>We set up a voting page, where supporters would choose one of three candidates (only two are shown in the snippet). By clicking the checkbox, the supporter would add themselves to a Salsa group. This way only one vote for a candidate by a supporter would count, it would be easy to find the count for each candidate, and it would be easy to find the supporters who picked each candidate. 

We wanted to make it "required" to select one of the checkboxes, but we couldn't simply make the checkbox required because then supporters would be required to choose THAT checkbox. The solution was to add another field, called pac_voted, and make it a hidden field, and require THAT field to be filled out. Then we used the javascript shown here to fill out the pac_voted field whenever any of the groups checkboxes was selected. This way if no checkbox was selected, the error checking on the page reported that a required field was missing; but if any checkbox was checked, the page passed error checking.</p> ]]></description>
<pubDate>Tue, 12 Oct 2010 16:06:27 GMT</pubDate>
<guid>http://snipplr.com/view/42112/require-one-of-three-salsa-group-checkboxes-to-be-selected/</guid>
</item>
<item>
<title>(PHP) GET UNTICKED CHECKBOXES - lfatr</title>
<link>http://snipplr.com/view/28396/get-unticked-checkboxes/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 16 Feb 2010 11:14:49 GMT</pubDate>
<guid>http://snipplr.com/view/28396/get-unticked-checkboxes/</guid>
</item>
<item>
<title>(jQuery) jQuery - Toggle All Checkboxes - smoothdzion</title>
<link>http://snipplr.com/view/25932/jquery--toggle-all-checkboxes/</link>
<description><![CDATA[ <p>Great short snippet of code to toggle checkboxes.
Thanks 	[Josh Nathanson](http://groups.google.com/groups/profile?enc_user=aAOlJRcAAAC7dB8ku2NsRGdjbPtXhPEXHqZiDvCVswhrZ6TQxKj0ww) for putting this simple code together.</p> ]]></description>
<pubDate>Mon, 04 Jan 2010 19:20:59 GMT</pubDate>
<guid>http://snipplr.com/view/25932/jquery--toggle-all-checkboxes/</guid>
</item>
<item>
<title>(JavaScript) Check or Uncheck all checkboxes on a form - scriptmakingcom</title>
<link>http://snipplr.com/view/3705/check-or-uncheck-all-checkboxes-on-a-form/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 14 Sep 2007 20:55:53 GMT</pubDate>
<guid>http://snipplr.com/view/3705/check-or-uncheck-all-checkboxes-on-a-form/</guid>
</item>
<item>
<title>(Rails) HABTM checkboxes - bordalix</title>
<link>http://snipplr.com/view/3281/habtm-checkboxes/</link>
<description><![CDATA[ <p>The right and fastest way to have a HABTM checkboxes, railscast #17</p> ]]></description>
<pubDate>Fri, 13 Jul 2007 04:07:05 GMT</pubDate>
<guid>http://snipplr.com/view/3281/habtm-checkboxes/</guid>
</item>
<item>
<title>(PHP) PHP - InversoMoltiplicativo - whitetiger</title>
<link>http://snipplr.com/view/1607/php--inversomoltiplicativo/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 09 Nov 2006 23:55:10 GMT</pubDate>
<guid>http://snipplr.com/view/1607/php--inversomoltiplicativo/</guid>
</item>
</channel>
</rss>