showing results for - "location reload sweetalert"
Aled
09 Oct 2019
1swal({title: "Good job", text: "You clicked the button!", type: "success"},
2   function(){ 
3       location.reload();
4   }
5);
Deb
19 Jun 2020
1swal({title: "Good job", text: "You clicked the button!", type: 
2"success"}).then(function(){ 
3   location.reload();
4   }
5);
Mateo
17 Jun 2020
1swal({
2  title: "Good job",
3  text: "You clicked the button!",
4  icon: "success",
5  buttons: [
6    'NO',
7    'YES'
8  ],
9}).then(function(isConfirm) {
10  if (isConfirm) {
11    location.reload();
12  } else {
13    //if no clicked => do something else
14  }
15});