Skip to content

Instantly share code, notes, and snippets.

@sahinsf
Created May 24, 2012 18:20
Show Gist options
  • Save sahinsf/2783271 to your computer and use it in GitHub Desktop.
Save sahinsf/2783271 to your computer and use it in GitHub Desktop.
checboxes
//just add a class for files only and apply how many selected
var notchecked = $('input'+topLevelClass(splittedClassNames)+':not(:checked)').length;
var checked = $('input'+topLevelClass(splittedClassNames)+':checked').length;
var all = $('input'+topLevelClass(splittedClassNames)).length;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment