Created
February 1, 2014 14:46
-
-
Save philsinatra/8753225 to your computer and use it in GitHub Desktop.
Simple jquery command to select/deselect every checkbox on a page
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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