0xV3NOMx
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.35.228


Current Path : /var/www/oasis/js/
Upload File :
Current File : /var/www/oasis/js/updnemp.js

function callUpdnemp() {
  $("#page_main_div").load("../html_modules/updnemp.html", function () {
    document.getElementById("display_module_name").innerHTML = "Update NE-MP";
    document.getElementById("module_name_for_save").value = "Update NE-MP";
    getDefaultHeadFooterLinks("Update NE-MP");
  });
}

function saveNEMP() {
  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 + "saveNEMP",
    data:"degcode="+degcode+"&sem="+sem,
    success: function (response) {
      var res = JSON.parse(response);
      alert(res.data.msg);
      return;
    },
  });

}