Sweet Alert After Click OK Redirection

swal({
    title: "Wow!",
    text: "Message!",
    type: "success"
}).then(function() {
    window.location = "redirectURL";
});
Amit Halder