Created
November 17, 2010 07:11
-
-
Save jonathanconway/703094 to your computer and use it in GitHub Desktop.
A 'checked' filter that actually works
This file contains 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
jQuery.extend(jQuery.expr[':'], { | |
/// <summary> | |
/// Filter out checkboxes which are checked. | |
/// </summary> | |
checked: function(element) { | |
return element.checked; | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment