swal.fire({
title:'เพิ่มวันหยุดประจำปี',
width: 600,
showCloseButton: true, // show button X on top left
showCancelButton: false, /// show cancel
showConfirmButton: false, /// show ok button
allowOutsideClick: false, /// don't click outsize
onClose: Refreshs, /// event on close
html: '<iframe src="holiday.php?_method=POST&date='+date+'" width="100%" height="500" src="" ></iframe>',
}) ;
function Refreshs() {
window.location.reload();
}
ไม่มีความคิดเห็น:
แสดงความคิดเห็น