开发者

Access Is Denied in IE only

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开发者_如何学Go/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?


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:

if(document.documentElement.doScroll&&!l.frameElement)
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜