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 : 18.191.91.15
Current Path : /var/www/oasis/js/ |
| Current File : /var/www/oasis/js/updmarks.js |
function callUpdMarks() {
$("#page_main_div").load("../html_modules/updmarks.html", function () {
document.getElementById("display_module_name").innerHTML = "Update Marks";
document.getElementById("module_name_for_save").value = "Update Marks";
getDefaultHeadFooterLinks("Update Marks");
});
}
function saveUpdMarks() {
var degcode = $("#degcode").val();
var sem = $("#sem").val();
if (degcode == "") {
alert("Please Enter Degree");
$("#degcode").focus();
return;
}
if (sem == "") {
alert("Please Enter Semister");
$("#sem").focus();
return;
}
$.ajax({
type: "GET",
url: $host_url + "saveUpdMarks",
data:"degcode="+degcode+"&sem="+sem,
success: function (response) {
var res = JSON.parse(response);
alert(res.data.msg);
return;
},
});
}
|