I know I could call alert('Warning1');alert('Warning2');
and it will show 2 alerts. But, when I use JAlert plugin referred in JAlert Page I can’t show multiple alert messages. Does any of you guys ever worked with this plugin and solved same problem?
I know I could call alert(‘Warning1’);alert(‘Warning2’); and it will show 2 alerts. But, when
Share
Right- so i made a sample HTML and tested this thing out
So based on the docuemntation from the website
Ok now this is the logic of the jQuery
What actually happens
In conclusion
This plugin cannot handle multiple calls internally and the callback is wrong! because it is not calling back but calling a function before it calls its self or waits for the inital jAlert to be accepted
Solution
Why Does alert(); work then??!?!?!?!?
Because when you call
alert();the code execution STOPS and waits until you press OK and continues the code.So i am sorry to say but this plugin is not functioning properly and i suggest you find another one maybe.