SweetAlert2 and Confirm dialog, how to execute action after an jQuery $.ajax call is executed?
I need to reload the page if a $.ajax call was successful (data.error
is undefined). I am using jQuery and SweetAlert2 to display the confirmation dialog nicely and this is how my code looks like: