swal({
title: "Успешно",
type:"success",
showCancelButton: false,
closeOnConfirm: false,
text: "Нажмите ОК для выполнения SQL запроса"
}, function(isConfirm){
if (isConfirm) {
$.ajax({
type: "POST",
url: "getQuery.php",
success: function (result) {
console.log(result);
}
});
}
});
}, function(isConfirm){
if (isConfirm) {
}.then(isConfirm){
if (isConfirm) {