Results 1 to 2 of 2

Thread: Adding a DOM Element to MessageBox

  1. #1

    Default Adding a DOM Element to MessageBox

    Is there a way to append a DIV to the content area of an alert MessageBox, instead of plain text? (I am unable to use a BasicDialog at the moment)

    Something like:

    Ext.MessageBox.alert("Title", contentElement);

  2. #2
    Sencha Premium User evant's Avatar
    Join Date
    Apr 2007
    Sydney, Australia


    At the moment it only accepts text, however if you inspect using firebug, it should be easy enough to figure out what you need to append to (just be sure to clean it up afterward!).

Posting Permissions

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