- $(function() {
- $("#tests-table-select-all").on("click", function() {
- let $checkboxes = $(this).parents("table").find("input:checkbox");
- let count = $checkboxes.length;
- for(let i = 0; i < count; i++) {
- $checkboxes.get(i).checked = this.checked;
- }
- });
- });
|