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.142.198.250
Current Path : /var/www/html/uet/ |
| Current File : /var/www/html/uet/OnlineApp.js |
function loadOnlineService() {
$("#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 + `getDropDownList&univcode=${window.FUNIVCODE}`,
success: function(response) {
var { error_code, data, status } = JSON.parse(response);
if (error_code == 0) {
var servtype = data.servtype;
var catcode = data.catcode;
var options;
for (var i = 0; i < servtype.length; i++) {
options += `<option value="${servtype[i].int_code}">${servtype[i].val}</options>`;
}
$("#appfor").html(options);
var options;
for (var i = 0; i < catcode.length; i++) {
options += `<option value="${catcode[i].int_code}">${catcode[i].val}</options>`;
}
$("#catcode").html(options);
}
}
});
});
}
|