js實現重新整理當前頁面
阿新 • • 發佈:2019-02-18
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> top.html </TITLE>
</HEAD>
<BODY>
<input type=button value="重新整理1" onclick="window.parent.frames[1].location.reload()"><br>
<input type=button value="重新整理2" onclick="window.parent.frames.bottom.location.reload()"><br>
<input type=button value="重新整理3" onclick="window.parent.frames['bottom'].location.reload()"><br>
<input type=button value="重新整理4" onclick="window.parent.frames.item(1).location.reload()"><br>
<input type=button value="重新整理5" onclick="window.parent.frames.item('bottom').location.reload()"><br>
<input type=button value="重新整理6" onclick="window.parent.bottom.location.reload()"><br>
<input type=button value="重新整理7" onclick="window.parent['bottom'].location.reload()"><br>
</BODY>
</HTML>