View Full Version : How to display multiple alerts?

18 Nov 2010, 3:25 AM
I tried to generate multiple alerts using for loop.
For example if my alert messages are
1.Alert 1
2.Alert 2
3.Alert 3
i got "Alert 3" message only.
Can any one help me to get multiple alerts on a same event.

18 Nov 2010, 8:00 AM
Do you need that for debugging?
I use

console.log('my alert message');
for the firefox extension firebug and in addition you can set also breakpoints in your loop.

or maybe is that what you are searching for:

18 Nov 2010, 9:03 AM
I you R trying to achieve this by using Ext.Msg.alert method it wont work since Ext.Msg is singleton so each time U call its alert method it uses same object and just changes the text

18 Nov 2010, 10:31 AM
you woudl need to extend Ext.Window if you want to have multiple floating alert style boxes but it sounds like you want debugging. i would look into firebug - http://www.getfirebug.com