Answers for "how to use sweet alert cancel and ok button click"

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 "how to use sweet alert cancel and ok button click"

Code answers related to "Javascript"

Browse Popular Code Answers by Language