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.147.82.22
function callRegcandiListGcg() {
$("#page_main_div").load(
"../html_modules/report_reg_list_gcg.html",
function () {
document.getElementById("display_module_name").innerHTML =
"Registration Candidate List";
document.getElementById("module_name_for_save").value =
"Registration Candidate List";
getDefaultHeadFooterLinks("Registration Candidate List");
$("#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 ReportRegCandListGcg() {
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.open($host_url + "generateRegListReportGcg" + dataString);
//var data="°ree_code="+trim(($("#report_marklist_student_degree_code").val()))
}
|