I have a html editor in my extjs form The code that i useed for html editor is
{
xtype: 'htmleditor',
enableColors: false,
enableAlignments: false,
fieldLabel: 'Test',
name : 'test'
},
But when I try to submit it dont submits and gives the error below,
TypeError: this.iframeEl is undefined
[Break On This Error]
try {
Under extjs-debug.js. Whats is the solution to overcome it.
Below is my submit code .
form.submit({
url: 'some url',
success: function(fp, o) {
Ext.Msg.alert('Status', 'Success');
window.location.reload();
},
failure: function(fp, o) {
Ext.Msg.alert('Status', 'Failed');
}
});
,after name. But this is too few code to help. - Johan Haest