Skip to content

Instantly share code, notes, and snippets.

@makaroni4
Created April 2, 2012 09:59
Show Gist options
  • Save makaroni4/2282290 to your computer and use it in GitHub Desktop.
Save makaroni4/2282290 to your computer and use it in GitHub Desktop.
Check all checkboxes on page
$("input[type='checkbox']").each(function(){
$(this).attr('checked', true);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment