Results 1 to 4 of 4

Thread: How to display multiple alerts?

  1. #1

    Default How to display multiple alerts?

    Hi,
    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.

  2. #2
    Touch Premium Member msinn's Avatar
    Join Date
    Jul 2009
    Location
    in front of my pc
    Posts
    280

    Default

    Do you need that for debugging?
    I use
    PHP Code:
    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:
    http://www.globalguideline.com/JavaS...Multiple_Lines
    First I would like to thank you for your time and knowledge

    Win 7 Ext JS 4.1.3 IE(6-9), FF17

  3. #3
    Sencha Premium User danguba's Avatar
    Join Date
    Feb 2009
    Location
    Kragujevac, Serbia
    Posts
    441

    Default

    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
    All Best
    ---
    Željko Mitrović
    http://skitanja.blogspot.com/

    "Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live." Martin Golding

  4. #4
    Ext User matt617's Avatar
    Join Date
    Apr 2008
    Location
    Washington, DC
    Posts
    32

    Default

    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

Similar Threads

  1. Application alerts inline with grid in center panel
    By surfyogi in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 12 Sep 2010, 8:29 AM
  2. Bug in MessageBox type alerts
    By TheBuzzer in forum Community Discussion
    Replies: 0
    Last Post: 29 Jun 2009, 4:03 PM
  3. Getting basic alerts to work
    By kdnyegaard in forum Ext 1.x: Help & Discussion
    Replies: 6
    Last Post: 2 Aug 2007, 5:29 PM
  4. The entire page jumps after javascript alerts
    By maya in forum Ext 1.x: Help & Discussion
    Replies: 2
    Last Post: 8 Jul 2007, 3:58 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •