233
Views
2
Comments
Solved
Sweet Alert is not working

Hello All,

My sweet alert is not working. On clicking on button it shows the error message as "swal is not defined" 










This the flow i have with error dialog. Please someone tell me how to resolve this issue? Is it any JS issue? If yes then let me know how to integrate it?


Thanks
















2022-10-16 15-30-09
Miguel Chaparra
Solution

Hi SP_India,


You need to initialize the sweet alert first, like this:



Hope it helps,


Regards,

Miguel Chaparra

2020-11-22 11-13-41
Shailendra Phadke

Miguel Chaparra wrote:

Hi SP_India,


You need to initialize the sweet alert first, like this:



Hope it helps,


Regards,

Miguel Chaparra

 Thanks Miguel Chaparra, it is working now. :-)

 

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.