<input type=button value=前进 onclick="window.history.go(1)">
<input type=button value=前进 onclick="window.history.forward()">
<input type=button value=后退 onclick="window.history.go(-1)">
<input type=button value=后退 onclick="window.history.back()">
<input type=button value=刷新 onclick="window.location.reload()">
<inpuy type=button value=返回刷新 onclick="window.location.href=document.referrer">
【JS-技术】前端页面前进、后退、刷新
最新推荐文章于 2024-05-24 22:01:28 发布