help in Message Box

  • Hi,

    I want to display array of strings one by one in a message box,I tried the following,

    var array = ['sat','sg','ehscg'];
    Ext.Msg.show({
    title:'msg box',
    buttons: Ext.Msg.OK,
    width: 500,
    height: 200,
    msg: array,
    icon: Ext.MessageBox.ERROR
    });

    But i am getting msg box with strings in same line.How to display array of strings one by one in a single message box?

    Thx in advance

    Regards,
    sathishs


  • var out = '';
    Ext.each(array, function(el, idx)
    {
    if (idx > 0)
    out += '
    ';

    out += el;
    }
    );
    alert(out);







  • #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about help in Message Box , Please add it free.