Answers for "jquery click sweet alert"

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
0

switch alert

swal({
	title: "Good job!",
	text: "You clicked the button!",
	icon: "success",
	button: "Aww yiss!"
});
Posted by: Guest on May-20-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language