Skip to content
Create a gist now

Instantly share code, notes, and snippets.

Embed URL


Subversion checkout URL

You can clone with
Download ZIP
Uncheck checkboxes using jQuery
* jQuery - Uncheck Checkboxes - 05/17/2011
* Dual licensed under 'Use it like you stole it'
* and 'I Don't Care'.
* Description: Uncheck any checkeboxes that might
* be checked. Simple, yet effective, particularly
* for how I needed to use it with AJAX.
* Example usage:
* clearCheckboxes($(':checkbox'));
function clearCheckboxes($sel) {
$sel.each(function() {
this.checked = false;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.