2011-06-21 108 views

回答

2

是的。

只要兩個頁面在同一個域中,就可以使用幀的parent對象訪問父幀的全局範圍(window對象)。

您可以通過編寫parent.whatever來使用任何全局數據(函數或變量)。