嗨,我正在尝试将表单动态添加到 Ext-js 中的选项卡。(选项卡已经呈现)。仅供参考,我正在使用我正在使用 Ext 2.2。
在 tab.add 功能期间发生错误:即:
function tabactivate(tab) {
var newItem= new Ext.FormPanel(.....);
**tab.add(newItem)**; //ERRORS HERE
tab.doLayout();
}
我在 ext-all-debug.js 的第 247 行收到此错误,即
range = el.ownerDocument.createRange();
错误是(对象不支持此属性或方法。)
这在 Firefox 中运行良好,但在 IE8 中中断。有谁知道这个的解决方法?
谢谢