Skip to content

Instantly share code, notes, and snippets.

@philsinatra
Created February 1, 2014 14:46
Show Gist options
  • Save philsinatra/8753225 to your computer and use it in GitHub Desktop.
Save philsinatra/8753225 to your computer and use it in GitHub Desktop.
Simple jquery command to select/deselect every checkbox on a page
// prop value true/false = checked/unchecked
$("input[type='checkbox']").prop("checked", false);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment