sweetalert after header code example
Example 1: sweet alert after click ok redirect
swal({
title: "Wow!",
text: "Message!",
type: "success"
}).then(function() {
window.location = "redirectURL";
});
Example 2: sweet alert bootstrap
Swal.fire( 'Good job!', 'You clicked the button!', 'success')