window.opener.location.reload()刷新父窗口
window.opener.location.reload() 與 window.opener.location.href=window.opener.location.href
都是彈出窗口關閉時用來刷新父窗口。
但window.location.Reload 如果有數據提交的動作,會提示是否提交的(是和否選項)
window.opener.location.href=window.opener.location.href 是定向url提交數據,則不會出現是和否
的選擇框。
新聞熱點
疑難解答
圖片精選