Answers for "sweetalert button ok"

2

sweet alert after click ok redirect

swal({
    title: "Wow!",
    text: "Message!",
    type: "success"
}).then(function() {
    window.location = "redirectURL";
});
Posted by: Guest on September-25-2020
1

sweetalert close on custom button click

swal.close()
Posted by: Guest on September-24-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language