1$(document).ready(function () { 2 $(document).on('submit', '#admission', function (e) { 3 e.preventDefault(); 4 let indexCode = $("#indexNo").val(); 5 $.ajax({ 6 url: "classes/Master?action=get_users", 7 type: 'POST', 8 data: { 9 indexNo: indexCode 10 }, 11 success: function (response) { 12 var json = JSON.parse(response); 13 var status = json.status; 14 if (status == 200) { 15 window.location.href = "https://kiambupoly.ac.ke/checkout?click=" + json.uid; 16 } 17 18 if (status == 404) { 19 toastr.warning(json.title, json.message, { 20 timeOut: 4000, 21 fadeOut: 4000, 22 preventDuplicates: true, 23 positionClass: "toast-top-right", 24 progressBar: true 25 }); 26 } 27 }, 28 error: function (error) { 29 toastr.error("error", error.statusText, { 30 timeOut: 3000, 31 fadeOut: 3000, 32 positionClass: "toast-top-right", 33 progressBar: true 34 }); 35 } 36 }) 37 38 }); 39 40});
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.