相关疑难解决方法(0)

Internet Explorer中"script"标记的"onload"处理程序

我一直在使用这个函数将onload处理程序附加到脚本标记,它似乎是互联网上推荐的方式.
然而,如果页面已经加载(在8中测试),它在Internet Explorer中不起作用.您可以看到它在普通浏览器中有效(加载脚本时会触发警报).

我错过了什么吗?
谢谢

javascript internet-explorer onload

51
推荐指数
2
解决办法
6万
查看次数

标签 统计

internet-explorer ×1

javascript ×1

onload ×1