Skip to content

Instantly share code, notes, and snippets.

@jonathanconway
Created November 17, 2010 07:11
Show Gist options
  • Save jonathanconway/703094 to your computer and use it in GitHub Desktop.
Save jonathanconway/703094 to your computer and use it in GitHub Desktop.
A 'checked' filter that actually works
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