swal ajax example
Example 1: switch alert
swal({
title: "Good job!",
text: "You clicked the button!",
icon: "success",
button: "Aww yiss!"
});
Example 2: sweet alert
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@9"></script>
swal({
title: "Good job!",
text: "You clicked the button!",
icon: "success",
button: "Aww yiss!"
});
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@9"></script>