【发布时间】:2015-11-23 19:09:51
【问题描述】:
我在 Microsoft Edge(版本 20.10240.16384.0)中收到以下错误:
SCRIPT5: access denied message in edge
这是我的代码:
function getFrame( width, height ) {
document.getElementById( this.contentid ).style.display = "none";
this.frame = eval( this.editorid );
return this.frame;
}
function init( width, height ) {
this.frame = this.getFrame( width, height );
this.doc = this.frame.document; // <-- error
// ~~~
}
父域和子域相同。此外,Edge 似乎不支持eval。
【问题讨论】:
-
您能否将我们链接到显示问题的在线资源?
-
我在这段代码中发现了一个错误。 : textarea.parentNode.insertBefore(iframe, textarea);
标签: microsoft-edge