swalclose sweetalert2 code example
Example 1: sweet alert
swal("Good job!", "You clicked the button!", "success");
Example 2: sweet alert bootstrap
Swal.fire( 'Good job!', 'You clicked the button!', 'success')
swal("Good job!", "You clicked the button!", "success");
Swal.fire( 'Good job!', 'You clicked the button!', 'success')