通過按鈕的onclick,調用js的window的history來進行頁面的前進后退
<input type=button value=后退 onclick="history.go(-1)">
<input type=button value=刷新 onclick="history.go(-0)">
<input type=button value=前進 onclick="history.go(+1)">
更多信息請查看IT技術專欄
2025國考·省考課程試聽報名