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.15.229.217
Current Path : /var/www/oasis/js_old/ |
| Current File : /var/www/oasis/js_old/studentportal_remove.js |
var totallength = "";
function CallEnableStudentPortalRemove() {
$("#page_main_div").load(
"../html_modules/studentportal_remove.html",
function() {
document.getElementById("display_module_name").innerHTML =
"Remove Student Registration";
document.getElementById("module_name_for_save").value =
"Remove Student Registration";
getDefaultHeadFooterLinks("Remove Student Registration");
$("#student_data").hide();
}
);
}
function getpopup() {
$.ajax({
type: "POST",
url: $host_url + "getfeeInformation",
success: PopulateExamTypeListCategoryResponce
});
}
function PopulateExamTypeListCategoryResponce(responce) {
responce = eval("(" + responce + ")");
// document.getElementById("candidate_list_examno").options.length = 0;
// document.getElementById("candidate_list_degree").options.length = 0;
// var FEXAMNO =responce.data['FEXAMNO'];
// var FDEGREE =responce.data['FDEGREE'];
// $op = new Option();
// $op.id=0;//specifying the id for options
// //document.getElementById("candidate_list_category").options.add($op);
// for($i=0;$i < FEXAMNO.length;$i++)
// {
// $op = new Option(FEXAMNO[$i]['value'], FEXAMNO[$i]['internal_code']);
// $op.id=FEXAMNO[$i]['internal_code'];//specifying the id for options
// document.getElementById("candidate_list_examno").options.add($op);
// }
// for($i=0;$i < FDEGREE.length;$i++)
// {
// $op = new Option(FDEGREE[$i]['value'], FDEGREE[$i]['internal_code']);
// $op.id=FDEGREE[$i]['internal_code'];//specifying the id for options
// document.getElementById("candidate_list_degree").options.add($op);
// }
}
function displayStudentPortalData() {
// var examno = document.getElementById("candidate_list_examno").value;
// var degree = document.getElementById("candidate_list_degree").value;
var regno = document.getElementById("fregno").value;
var examno = "";
var degree = "";
var datastring =
"&examno=" + examno + "°ree=" + degree + "®no=" + regno;
$.blockUI({
message:
"<h1 class='h1' style='font-size:12px'><img src='img/ajax-loader.gif' border='0'></h1>"
});
$.ajax({
type: "POST",
url: $host_url + "displayStudentPortalData",
data: datastring,
success: displayStudentPortalDataSuccess
});
}
function displayStudentPortalDataSuccess(responce) {
$.unblockUI();
$("#student_data").show();
responce = eval("(" + responce + ")");
$("#student_data").html(responce.data.html);
}
function DeleteStudentPortalData(univcode, regno) {
var datastring = "&univcode=" + univcode + "®no=" + regno;
$.blockUI({
message:
"<h1 class='h1' style='font-size:12px'><img src='img/ajax-loader.gif' border='0'></h1>"
});
$.ajax({
type: "POST",
url: $host_url + "DeleteStudentPortalData",
data: datastring,
success: function(responce) {
$.unblockUI();
responce = eval("(" + responce + ")");
if (responce.error_code == 0) {
alert(responce.data.msg);
} else {
alert(responce.data.msg);
}
}
});
}
|