View Full Version : Adding a DOM Element to MessageBox

10 Oct 2007, 12:07 PM
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);

10 Oct 2007, 1:31 PM
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!).