Results 1 to 2 of 2

Thread: Messagebox with unordered list

  1. #1

    Question Messagebox with unordered list

    Hi - Im trying to display unordered / ordered list in messagebox but its not recognizing.

    Here is my code, let me know if anything is wrong

    var msg = '
    <ul>';

    form.items.each(function(item){
    if(!item.isValid()) {
    msg += '
    <li>' + item.fieldLabel +'</li>';
    }
    });
    msg += '
    </ul>';


    Ext.MessageBox.show({
    title: 'Error',
    msg: msg,
    buttons: Ext.MessageBox.OK
    });




  2. #2

    Thumbs up

    Override the UL default style...

    #errorPanel Ul {list-style:disc;list-style-position:inside;}

Posting Permissions

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