11 lines
243 B
JavaScript
11 lines
243 B
JavaScript
|
$(function() {
|
||
|
console.log("ready");
|
||
|
$("#toggleall").click(function() {
|
||
|
var checked_status = this.checked;
|
||
|
jQuery("input[type='checkbox']").each(function() {
|
||
|
this.checked = checked_status;
|
||
|
});
|
||
|
});
|
||
|
|
||
|
});
|