2011-03-31 31 views

回答

0

將此JavaScript放在iframe頁面上並調用它。

function refreshWindow() { 
    if (parent.window.location.href.indexOf("#") == -1) { 
     parent.window.location.href = parent.window.location.href + "#"; 
    } 

    parent.window.location.href = parent.window.location.href.replace("#", ""); 
} 
+0

謝謝。它適用於我) – 2011-03-31 17:36:05

+0

您可能還需要將元數據標籤添加到正在刷新的頁面,以便它不會一直顯示頁面的緩存版本。 ' – Neil 2011-04-20 15:15:54