Home  >  Article  >  Web Front-end  >  兼容IE/Firefox/Opera/Safari的检测页面装载完毕的脚本Ext.onReady的实现_javascript技巧

兼容IE/Firefox/Opera/Safari的检测页面装载完毕的脚本Ext.onReady的实现_javascript技巧

WBOY
WBOYOriginal
2016-05-16 18:49:59779browse
复制代码 代码如下:



其中对于IE的检测很有意思。
以上代码,整理自Extjs的脚本,完全可以代替 Ext.onReady使用。
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn