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.223.172.243
// var $host_url =
// "http://" +
// window.location.host +
// "/" +
// window.location.pathname.split("/")[1] +
// "/app.php?a=";
var $pget_url =
"http://" +
window.location.host +
"/" +
window.location.pathname.split("/")[1];
$(function() {
var focusedElement;
$(document).on("focus", "input", function() {
if (focusedElement == this) return;
focusedElement = this;
setTimeout(function() {
focusedElement.select();
}, 100);
});
});
function loadSeatAllotment() {
$.ajax({
type: "POST",
url: $host_url + "loadRange",
async: false,
success: function(response) {
// console.log(response);
var { error_code, data, status } = JSON.parse(response);
// console.log(data);
if (error_code == "0") {
$("#loadTab").load("seatallotment.html", function() {
var degers = data;
});
} else {
alert("Please try after some time");
return;
}
}
});
}
function openSeatAllotment() {
window.open($pget_url + "/vskub/seatAllot.php", "_blank");
}
|