Typo3 iFrame Javascript在Internet Explorer中不起作用
Typo3 iFrame Javascript not working inside Internet Explorer
类型3的域名(4.3.3版)网址:www.YYYY.com
iFrame指向此域:www.XXXX.com
iFrame页面内容:基于jQuery 的Javascript联系人表单
在TYPO3中,我添加了一个HTML内容项,代码如下:
<iframe src="http://www.XXXX.com/share/?v=35" name="XXXX-com-35" scrolling="no" frameborder="0" height="350" width="410"></iframe>
在Firefox、Chrome和Safari浏览器中一切都很好。
只有在MS Internet Explorer(版本:7、8、9、10)中,我才能看到iFrame内容,但所有按钮和超链接(如"javascript:void(0);")都不起作用。
当我在IE中启动Devtools(F12)时,我看到,对于所有iFrame内容脚本,我都会得到"拒绝访问"。
我希望你对此有个答案。感谢
解决方案:我使用了一个旧的jQuery库(1.10.1)
jQuery库(1.10.2)现在正在运行。看起来这是一个jQuery错误。
我现在使用:
<script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"></script>
它在IE 7、8、9和10 上表现出色
相关文章:
- 在Internet Explorer中,向所选内容添加选项不起作用
- 鼠标事件在 Internet Explorer 中不起作用
- 输入类型的图像在Internet Explorer中不起作用,但在Chrome和Firefox中起作用
- 包含jquery的Javascript在Internet Explorer中不起作用
- onClick和onClientClick事件一起使用.在Internet Explorer中不起作用
- Javascript图像动画在Firefox或Internet Explorer中不起作用
- 使用JS固定标题的表在Internet explorer中不起作用
- Angular $templateCache在 Internet Explorer 中不起作用
- 滑块图像在Internet Explorer中不起作用,但在其他浏览器中有效
- 带有 Internet Explorer 8/9 的 Editor Ace 不起作用
- Window.location 在 Internet Explorer 中不起作用
- Ajax POST 请求在 Internet Explorer 中不起作用
- 脚本在 Internet Explorer 中不起作用
- 在第二次加载时更改 iframe 样式,在 Internet Explorer 9 中不起作用
- 流体布局在 Internet Explorer 7 和 8 中不起作用
- blockUI 在 Internet Explorer 上不起作用
- Javascript在Internet Explorer上不起作用
- 屏幕键盘在 Internet Explorer 中不起作用
- jQuery 动画在 Internet Explorer 中不起作用
- 元标记中的JavaScript在Firefox和Internet Explorer上不起作用