Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Your IP : 3.144.227.73
Current Path : /var/www/html/rcub/js/ |
| Current File : /var/www/html/rcub/js/report_reg_application_form.js |
function callRegReportApplicationForm() {
$("#page_main_div").load('html_modules/report_reg_application_form.html', function () {
document.getElementById('display_module_name').innerHTML = 'Registration Application Fee Report';
document.getElementById('module_name_for_save').value = 'Report Registration Application';
getDefaultHeadFooterLinks('Registration Fee Report');
$("#degree").focus();
$("#degree").val('');
$("#degree").val('');
$.ajax({
type: "POST",
data: "type=loadsub",
url: $host_url + "getdegreg",
success: function(responce) {
var responce = eval("(" + responce + ")");
if (responce.error_code == 0) {
var degree = responce.data;
var options;
options += `<option value="">--Select--</option>`;
for (var i = 0; i < degree.length; i++) {
options += `<option value="${degree[i].fdegree}">${degree[i].fdescpn}</options>`;
}
$("#degree").html(options);
}
}
});
});
}
function ReportRegApplicationForm() {
if (trim($("#degree").val()) == '') {
alert('Please select degree!');
$("#degree").focus();
return;
}
if (trim($("#report_student_Examno").val()) == '') {
alert('Please Enter Exam No');
$("#report_student_Examno").focus();
return;
}
if (trim(($("#report_application_range_from").val())) == '' || trim(($("#report_application_end_to").val())) == '') {
alert('Please Enter Application Range');
return;
}
if (trim(($("#report_exam_reg_start_from").val())) == '' || trim(($("#report_exam_reg_end_to").val())) == '') {
alert('Please Enter Reg.No Range');
return;
}
var dataString = "°ree_code=" + trim(($("#degree").val())) +
"&exam_code=" + trim(($("#report_student_Examno").val()));
dataString += "&app_start=" + trim(($("#report_application_range_from").val())) +
"&app_end=" + trim(($("#report_application_end_to").val()));
dataString += "®_start=" + trim(($("#report_exam_reg_start_from").val())) +
"®_end=" + trim(($("#report_exam_reg_end_to").val())) + "&report_type=" + trim(($("#ack_type").val())) + "&payment_type=" + trim(($("#pay_mode").val()));
window.location.href = $host_url + "DownloadRegAppFormApplications" + dataString;
//var data="°ree_code="+trim(($("#report_marklist_student_degree_code").val()))
}
|