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.138.134.77
Current Path : /var/www/oasis/js/ |
| Current File : /var/www/oasis/js/coll_exam_app_form.js |
function Callexamapplicationform() {
$("#page_main_div").load(
"../html_modules/coll_exam_app_form.html",
function () {
document.getElementById("display_module_name").innerHTML =
"Exam Application Form";
document.getElementById("module_name_for_save").value =
"Exam Application Form";
$("#mobdiv").hide();
// getDefaultHeadFooterLinks('Exam Application Form');
}
);
}
function GotoExamAppFrom() {
var regno = $("#candidate_list_reg_no").val();
if (regno == "") {
alert("Enter Register Number");
return;
}
$.ajax({
type: "POST",
url: $host_url + "collExamAppfromParam.demo",
data: "regno=" + regno,
success: function ($response) {
$response = eval("(" + $response + ")");
if ($response.error_code == 1) {
var url = `https://studentportal.universitysolutions.in/direct-sign-in.php?mob=${$response.data.fmobileno}`;
window.open(url, "_blank");
Callexamapplicationform();
} else if ($response.error_code == 2) {
$("#mobdiv").show();
$("#direct").hide();
document.getElementById("candidate_list_reg_no").disabled = true;
} else {
alert($response.data);
Callexamapplicationform();
return;
}
},
});
}
function SaveStudReg() {
var regno = $("#candidate_list_reg_no").val();
if (regno == "") {
alert("Enter Register Number");
return;
}
if ($("#mob").val() == "") {
alert("Enter Mobile No");
return;
} else if ($("#mob").val().length < 10) {
alert("Enter Valid Mobile No");
return;
}
$.ajax({
type: "POST",
url: $host_url + "SaveStudReg.demo",
data: "regno=" + regno + "&mob=" + $("#mob").val(),
success: function ($response) {
$response = eval("(" + $response + ")");
if ($response.error_code == 1) {
var url = `https://studentportal.universitysolutions.in/direct-sign-in.php?mob=${$response.data}`;
window.open(url, "_blank");
Callexamapplicationform();
} else {
alert($response.data);
Callexamapplicationform();
return;
}
},
});
}
|