1 function Check_boxes(dow) {
2 if($(":checkbox[data-dow='"+dow+"']:first").is(':checked')) {
3 $("#predictionst :checkbox[data-dow='"+dow+"']").each(function(){
4 $(this).prop('checked', true);
7 $("#predictionst :checkbox[data-dow='"+dow+"']").each(function(){
8 $(this).prop('checked', false);
12 $(document).ready(function(){
13 $("#displayexample").on("change",".skipday",function(){
14 Check_boxes( $(this).data("dow"));