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.149.29.192
//10561 10655
function Enableiainvigilators_dairy() {
$("#page_main_div").load("../html_modules/ia_invigilators_dairy.html", function() {
document.getElementById("display_module_name").innerHTML =
"IA Invigilators Dairy";
document.getElementById("module_name_for_save").value =
"IA Invigilators Dairy";
getDefaultHeadFooterLinks("IA Invigilators Dairy and Roomwise Nos List");
getDairyIAAllotmentDegreeName();
});
}
function GenerateIAInvigilatorDairy() {
var rtype = $("#rtype").val();
var degree = $("#degree").val();
var degexam = $("#degexam").val();
if (date_format($("#frm_date").val()) == "") {
alert("Enter Date");
$("#frm_date").focus();
return false;
}
if (date_format($("#session").val()) == "") {
alert("Enter Date");
$("#session").focus();
return false;
}
var datastring =
"&frm_date=" +
trim($("#frm_date").val()) +
"&session=" +
trim($("#session").val()) +
"°ree=" + degree+"°exam="+degexam+"&rtype="+rtype;
window.location.href =
$host_url +
"GenerateIAInvigilatorDairy" +datastring;
}
function getDairyIAAllotmentDegreeName()
{
$.ajax({
type: "POST",
url: $host_url + "getIaDegName",
success: getDairyIAAllotmentDegreeNameSuccess,
});
}
function getDairyIAAllotmentDegreeNameSuccess($responce)
{
$responce = eval("(" + $responce + ")");
document.getElementById("degree").options.length = 0;
var deg = $responce.data["degree"];
$op = new Option("--Select--", "");
document.getElementById("degree").options.add($op);
for ($i = 0; $i < deg.length; $i++) {
$op = new Option(deg[$i]["VALUE"], deg[$i]["internal_code"]);
$op.id = deg[$i]["internal_code"];
document.getElementById("degree").options.add($op);
}
}
function getIAAllotmentDegreeExamName() {
var degree = $("#degree").val();
$.ajax({
type: "POST",
url: $host_url + "getIADegreeExamName",
data: "°ree=" + degree,
success: getIAAllotmentDegreeExamNameSuccess,
});
}
function getIAAllotmentDegreeExamNameSuccess($responce) {
$responce = eval("(" + $responce + ")");
document.getElementById("degexam").options.length = 0;
var deg = $responce.data["degexam"];
$op = new Option("--Select--", "");
document.getElementById("degexam").options.add($op);
for ($i = 0; $i < deg.length; $i++) {
$op = new Option(deg[$i]["VALUE"], deg[$i]["internal_code"]);
$op.id = deg[$i]["internal_code"];
document.getElementById("degexam").options.add($op);
}
}
function getIASession()
{
var degree = $("#degree").val();
var degexam = $("#degexam").val();
var frm_date = $("#frm_date").val();
$.ajax({
type: "POST",
url: $host_url + "getIASession",
data: "°ree=" + degree+"°exam="+degexam+"&frm_date="+frm_date,
success: getIASessionSuccess,
});
}
function getIASessionSuccess($responce)
{
$responce = eval("(" + $responce + ")");
document.getElementById("session").options.length = 0;
var deg = $responce.data["iasession"];
$op = new Option("--Select--", "");
document.getElementById("session").options.add($op);
for ($i = 0; $i < deg.length; $i++) {
$op = new Option(deg[$i]["VALUE"], deg[$i]["internal_code"]);
$op.id = deg[$i]["internal_code"];
document.getElementById("session").options.add($op);
}
}
|