When the user clicks on this element, I want it to show an alert.
However, when I click on the DIV that this Panel generates, nothing happens.
How ca
I believe you need something like:
var content = new Ext.Panel({ region:'center', margins:'5 0 5 5', cls:'empty', bodyStyle:'background:ivory; font-size: 13pt', html:'This is where the content goes for each selection.', listeners: { click: function() { alert('was clicked'); } } });
This is where the content goes for each selection.