1 year ago

Sweet Alert worked, but it closes within seconds why?

Posted 1 year ago by AbdulBazith

Guys i am working with a project, iam using sweet alert. but it closes immediately

how to solve

this is my code

i used

   <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/sweetalert/2.0.0/sweetalert.min.js"></script>

in my partials.

i used the below code in my view.blade


this is my controller

 Alert::success('Data Deleted successfully');

the message is closed fast why??

Please sign in or create an account to participate in this conversation.