【发布时间】:2011-08-25 21:18:49
【问题描述】:
我有这个代码
Ext.create('Ext.panel.Panel', {
width: '100%',
autoScroll: true,
height: '100%',
renderTo: Ext.getBody(),
title: 'IMAGES',
items: Ext.create('Ext.view.View', {
padding: 5,
store: ImageStore,
tpl: imageTpl
})
});
每当我点击面板时,它都会给我一个错误(在 IE 中调试)
网页错误详情
用户代理:Mozilla/4.0 等...
时间戳:2011 年 8 月 25 日星期四 21:15:22 UTC
消息:'id' 为空或不是对象
行:7
字符:183716
代码:0
URI:/ext-4.0.1/ext-all.js
每当我有像<a href="#" onClick="whateverFunction();">Run</a> 这样的链接时,它都无法运行该功能...
【问题讨论】:
-
是您的所有代码吗?
-
这是一个麻烦的代码,当我删除它时它会消失
-
这是在你的
Ext.onReady里面吗?
标签: javascript extjs internet-explorer-8