logStr not defined jquery sweetalert fix

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 which was small and simple to implement but yet flexible & beautiful. Our search ended with using “SweetAlert & Jquery”. While implementing we got stuck with following error : “logStr is not defined” Solution : Hope this helps some one facing similar issue as it took us 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 🙂