仅在 IE 中拒绝访问
这不是 permission-denied-ie-iframe 的欺骗,但它是非常密切相关的。
我有一个页面托管在 http://www.enviroissues.com/comments/bpa_i5/默认.aspx。此页面显示在 http://www.bpa 的 IFrame 中.gov/corporate/i-5-eis/ecomment.cfm。
我并不是试图从一个域访问另一个域上的 dom 元素。我的页面应该工作正常,无论它在哪里显示,并且当我转到它的直接网址时,它在 IE 中工作正常。
然而,当通过 IFrame 查看时,我收到错误“访问被拒绝 jquery-1.3-min.js 第 19 行等...
我只能假设元素的两个页面上可能存在一些冲突的 ID”我正在尝试操纵,但我还没有找到。
还有其他人对寻找什么有任何想法吗?
This is not a dupe of permission-denied-ie-iframe but it is very closely related.
I have a page hosted at http://www.enviroissues.com/comments/bpa_i5/default.aspx. This page is being displayed in an IFrame at http://www.bpa.gov/corporate/i-5-eis/ecomment.cfm.
I am NOT trying to access dom elements on one domain from the other. My page should be working fine independently of where it is being displayed and it is working fine in IE when I go to it's direct url.
When viewing through the IFrame however, I'm getting the error 'Access is Denied jquery-1.3-min.js Line 19, etc etc...
I can only assume that there may be some conflicting IDs on both pages of an element I'm trying to manipulate, but I haven't found one.
Does anybody else have any ideas on what to look for?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为这是由您运行的 jQuery 版本中的错误引起的。
http://www.webgyver .com/web-design-and-development/jquery-13-not-ready-for-production/
尝试更新到最新版本。
你的代码在 jQuery 中的这个语句上崩溃了:
I think this is caused by a bug in the version of jQuery you're running.
http://www.webgyver.com/web-design-and-development/jquery-13-not-ready-for-production/
Try updating to the latest version.
Your code is blowing up on this statement in jQuery: