Fix LogStr Not Defined ErrorIn jQuery SweetAlert

Home » Blog » Fix LogStr Not Defined ErrorIn jQuery SweetAlert

While working on a project, we needed to output responses, and using JavaScript alert was plain boring. We were looking for something small and simple to implement but yet flexible & beautiful. Our search ended with using SweetAlert & jQuery. While implementing, we got stuck with the following error :
logStr is not defined

Solution :

[wpgist id=”e0bb2f430894e62eaff4″]

Hope this helps someone facing a similar issue, as it took usa few hours to identify and fix the same.

If you need any further help on this topic, comment below and we are happy to help as quick as possible 🙂

Ajit Bohra Avatar

Leave a Reply

Your email address will not be published. Required fields are marked *