1$(function () { 2 var $selection = $("#acs_colleges"); 3 $selection.change(function () { 4 var college = $selection.val(); 5 $("#dep_cur_course").html( 6 '<div style="text-align:center" ><i class="fa fa-spinner fa-spin fa-5x fa-fw margin-bottom"></i></div>' 7 ); 8 9 $.ajax({ 10 url: "/estudent/reports/update_view", 11 data: { college: college }, 12 async: true, 13 cache: true, 14 success: function (response) { 15 $("#dep_cur_course").html(response); 16 }, 17 }); 18 }); 19 20 $("#acs_department").change(function () { 21 $("#prog_display").html( 22 '<div style="text-align:center" ><i class="fa fa-spinner fa-spin fa-5x fa-fw margin-bottom"></i></div>' 23 ); 24 25 var dep = $(this).val(); 26 $.ajax({ 27 url: "/estudent/reports/update_view", 28 data: { department_id: dep }, 29 async: true, 30 cache: true, 31 success: function (response) { 32 $("#prog_display").html(response); 33 }, 34 }); 35 }); 36 $("#acs_program").change(function () { 37 if ($("#report_status").val() != "New") { 38 $("#class_yr_dispaly").html( 39 '<div style="text-align:center" ><i class="fa fa-spinner fa-spin fa-5x fa-fw margin-bottom"></i></div>' 40 ); 41 42 var prog = $(this).val(); 43 44 $.ajax({ 45 url: "/estudent/reports/update_view", 46 data: { program_id: prog, ay: $("#report_academic_year_semester_id").val() }, 47 async: true, 48 cache: true, 49 success: function (response) { 50 $("#class_yr_dispaly").html(response); 51 }, 52 }); 53 } 54 }); 55 $("#acs_class_years").change(function () { 56 $("#section_display").html( 57 '<div style="text-align:center" ><i class="fa fa-spinner fa-spin fa-5x fa-fw margin-bottom"></i></div>' 58 ); 59 60 var class_year = $("#acs_class_years").val(); 61 var program = $("#acs_program").val(); 62 var academic_semester = $("#report_academic_year_semester_id").val(); 63 64 if (class_year != null && program != null && academic_semester != null) { 65 $.ajax({ 66 url: "/estudent/assign_section/update_sections", 67 data: { classyear: class_year, program: program, academic_semester: academic_semester }, 68 async: true, 69 cache: true, 70 success: function (response) { 71 $("#section_display").html(response); 72 }, 73 }); 74 } 75 }); 76 77 jQuery("#btn1").prop("disabled", true); 78 79 $("#report_program_id") 80 .add($("#report_curriculum_type")) 81 .change(function () { 82 var program_id = $("#report_program_id").val(); 83 var curriculum_type = $("#report_curriculum_type").val(); 84 85 if (program_id != "" && curriculum_type != "") { 86 $("#btn1").removeAttr("disabled"); 87 } else { 88 jQuery("#btn1").prop("disabled", true); 89 } 90 }); 91 92 $("#ebutton").click(function (e) { 93 e.preventDefault(); 94 $("#students_list").html( 95 '<div style="text-align:center" ><i class="fa fa-spinner fa-spin fa-5x fa-fw margin-bottom"></i></div>' 96 ); 97 98 var program_id = document.getElementById("c_course_prog").value; 99 var academic_year_semester_id = $("#report_academic_year_semester_id").val(); 100 var class_year_id = $("#acs_class_years").val(); 101 var section_id = $("#report_section_id").val(); 102 var status = $("#report_status").val(); 103 $.ajax({ 104 url: "/estudent/reports/show_student_by_enrollment_status", 105 data: { 106 status: status, 107 program_id: program_id, 108 academic_year_semester_id: academic_year_semester_id, 109 class_year_id: class_year_id, 110 section_id: section_id, 111 }, 112 async: true, 113 cache: true, 114 success: function (response) { 115 $("#students_list").html(response); 116 }, 117 }); 118 }); 119});
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.