Mul*_*ner 24 iframe jquery internet-explorer load
为什么loadIE中没有为iFrames触发事件?
请看一下这个例子.
在FF和Chrome中完美按预期工作,但IE失败了.
Sei*_*eis 26
我认为对于Internet Explorer中的iframe,您无法以编程方式设置该事件处理程序(onload),您需要在标记中指定它.
就像是:
<iframe id="myFrame" onload="myFunction();"></iframe>
Run Code Online (Sandbox Code Playgroud)
否则IE就会忽略该功能.
| 归档时间: |
|
| 查看次数: |
30158 次 |
| 最近记录: |