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.191.118.36


Current Path : /var/www/html/studentportal_wait/js/
Upload File :
Current File : /var/www/html/studentportal_wait/js/OnlineApp.js

function onlineApp(){
    $("#loadtab").css({ padding: "0px", "margin-bottom": "10%" });
    $("#loadtab").load("html_modules/onlineApp.html?v=" + version, function() {
      var regno = $("#side_regno").val();
    


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

    });
}