1// (un)select every checkboxes 2function toggleCheckboxes(checkBoxId) { 3 checkbox = $('input#select_unselect_items'); 4 if (checkbox[0].checked) { 5 $('input[name="' + checkBoxId + '"]').each(function() { 6 this.checked = true; 7 }); 8 } 9 else { 10 $('input[name="' + checkBoxId + '"]').each(function() { 11 this.checked = false; 12 }); 13 } 14} 15 16// helper method that returns selected checkboxes 17function selectedCheckBoxes(checkBoxId) { 18 selected_boxes = []; 19 i = 0; 20 $('input[name="' + checkBoxId + '"]').each(function() { 21 if (this.checked) { 22 selected_boxes[i] = this.value; 23 i = i + 1; 24 } 25 }); 26 return selected_boxes; 27}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.