Skip to content

Instantly share code, notes, and snippets.

@tygas
Created October 24, 2016 11:03
Show Gist options
  • Save tygas/2c767d29c8c931fafe055994239d6516 to your computer and use it in GitHub Desktop.
Save tygas/2c767d29c8c931fafe055994239d6516 to your computer and use it in GitHub Desktop.
select all checboxed
$('input[type=checkbox]').each(function(checkbox){
$(checkbox).prop('checked', true);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment