This question does not appear to be about programming within the scope defined in the help center.
Closed 5 years ago.
如果您查看结果窗格中的小提琴,您会注意到它实际上是一个指向不同域的 IFRAME,这意味着内置安全性将启动,通常会阻止访问父窗口。
例如这个小提琴: http://jsfiddle.net/jomanlk/y9zCK/
实际上由以下服务提供: http://fiddle.jshell.net/jomanlk/y9zCK/show/
If you look at the results pane for a fiddle you'll notice that it's actually an IFRAME pointing to a different domain which means that built in security will kick in which generally prevents access to the parent window.
This fiddle for example : http://jsfiddle.net/jomanlk/y9zCK/
Is actually served by : http://fiddle.jshell.net/jomanlk/y9zCK/show/
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
暂无简介
文章 0 评论 0
接受
发布评论
评论(1)
如果您查看结果窗格中的小提琴,您会注意到它实际上是一个指向不同域的 IFRAME,这意味着内置安全性将启动,通常会阻止访问父窗口。
例如这个小提琴: http://jsfiddle.net/jomanlk/y9zCK/
实际上由以下服务提供: http://fiddle.jshell.net/jomanlk/y9zCK/show/
If you look at the results pane for a fiddle you'll notice that it's actually an IFRAME pointing to a different domain which means that built in security will kick in which generally prevents access to the parent window.
This fiddle for example : http://jsfiddle.net/jomanlk/y9zCK/
Is actually served by : http://fiddle.jshell.net/jomanlk/y9zCK/show/