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 : 18.216.89.144


Current Path : /var/www/html/univadmin/js/
Upload File :
Current File : /var/www/html/univadmin/js/collnotification.js

var $host_url="https://"+window.location.host+"/"+window.location.pathname.split('/')[1]+"/app.php?a=";

var funivcode, funivname;

function loadnotification()
{
  $('#loadtab').load('html_modules/collnotification.html?v='+version, function(){

    $.ajax({
        type: 'post',
        url: $host_url+'getUnivs',
        //data:parameters,
        success: function(response)
        {
          var { error_code, data, status  } = JSON.parse(response);
          if(error_code == 0)
          {
            var univs = data.data;
            var options;
            for(var i = 0; i< univs.length; i++)
            {
              options += `<option value="${univs[i].funivcode}">${univs[i].funivname}</options>`;
            }

            $('#univname').html(options);
          }
        }
      });
    
  });
}