解决IE下Ext XXX is null or no object 的问题
来源:互联网 发布:sai for mac 没有压感 编辑:程序博客网 时间:2024/05/19 03:46
在Ext 应用中,我们最经常 的用法就是 在 html 的head 的 script 标签中 <script></script> 中加 Ext.onReady(); 中设计组件,并 渲染(render)至 html 容 器中,然而,大部分情况下,我们写好的程序,在Opara , FireFox 中应行得很好,但是在IE中却会时不时的报出 xxx is null or no object (有时会正常运行) , 起初,我也很郁闷, 经过一段时间 个人感觉,不管是Opara FireFox 跟IE 解析 一页面中的脚本的顺序 会有所不同,在Ext.onReady();中,IE的DOM加载 与 OnReady 中脚 本有时会是同时进行,以至于,在DOM 还没有加载完成之时,Ext 进行了DOM操作(个人感觉,没有权威依据,还望达人指点),所以就会出错.(万恶的IE),
没有办法,为了项目需要,只好把 之前 onReady 的位置放之文档的最后,也就是</html>之后, 这做法目前 各主流 浏览器 运行正常. 若达人有更好的办法还望 赐教.
- 解决IE下Ext XXX is null or no object 的问题
- 解决sensor or listener is null的问题
- java解决 No enclosing instance of type XXX is accessible的问题
- Linux: cannot open shared object file xxx.so: No such file or directory 解决
- cygwin下trying to exec 'cc1': execvp: No such file or directory 问题的解决
- ubuntu下解决expat.h: No such file or directory的问题
- QT报Object::connect: No such slot XXX::XXX()和Object::connect: No such slot XXX::XXX()问题
- dojo.widget' is null or not an object
- hibernate:XXX is not mapped问题的解决
- win下编译android老出现问题,cocos-ext.h: No such file or directory
- 解决 libstdc++.so.5: cannot open shared object file: No such file or directory 问题
- (转)解决Linux:cannot open shared object file: No such file or directory 类似问题
- 解决Unity3D中“There is no 'Renderer' attached to the game object”问题
- Ubuntu 下 libmpfr.so.1: cannot open shared object file: No such file or directory 问题
- QtNetwork: No such file or directory 问题的解决
- rmmod:No such file or directory 问题的解决
- bash: ***No such file or directory问题的解决
- 解决no session or session was closed的问题
- 2007年8月31日
- tune2fs和fsck的用法
- 2007年9月1日
- scanf()函数被跳过不运行的原因
- solr 1.3 安装步骤
- 解决IE下Ext XXX is null or no object 的问题
- Java开发者需坚守的十大基本准则
- DBFactory 数据库连接
- MIMIC SNMP Agent Simulator
- Linux 内核中的 GCC 特性[zhuan]
- Cscope 的使用
- UBuntu8.10 开发第一个基本Linux 驱动内核模块
- 解决bash: ifconfig: command not found
- Apriori