Answers for "sweetalert redirect cancel default button"

0

sweetalert redirect cancel default button

swal({
    title: 'Successfully Registered!',
    text: "Do you want to go to the Log In page?",
    type: 'success',
    showCancelButton: true,
    confirmButtonColor: '#3085d6',
    cancelButtonColor: '#d33',
    confirmButtonText: 'Yes, send me there!',
    focusCancel: "true"
    },
	function(){
      location.href= "http://example.com";
    });
Posted by: Guest on February-22-2022

Browse Popular Code Answers by Language