We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 415df08 commit 2a0e702Copy full SHA for 2a0e702
3-frames-and-windows/03-cross-window-communication/article.md
@@ -57,7 +57,7 @@
57
alert(e); // Security Error(另一个源)
58
}
59
60
- // 并且,我们也无法 **读取** iframe 中页面的 URL
+ // 并且,我们也无法读取 iframe 中页面的 URL
61
try {
62
// 无法从 location 对象中读取 URL
63
*!*
@@ -67,7 +67,7 @@
67
alert(e); // Security Error
68
69
70
- // ...我们可以 **写入** location(所以,在 iframe 中加载了其他内容)!
+ // ...我们可以写入 location(所以,在 iframe 中加载了其他内容)!
71
72
iframe.contentWindow.location = '/'; // OK
73
*/!*
0 commit comments