update.js 144 B

12345
  1. function toggleChecked(status) {
  2. $("input[type=checkbox]").each( function() {
  3. $(this).attr('checked', status).prop('checked', status);
  4. });
  5. }