以下是几种常见的网页刷新方法:
<!DOCTYPE html>
<html>
<body>
<input type=button value="go" οnclick="history.go(0)">
<input type=button value="reload"οnclick="location.reload()">
<input type=button value="location" οnclick="location=location">
<input type=button value="assign" οnclick="location.assign(location)">
<input type=button value="replace" οnclick="location.replace(location)">
<input type=button value="href" οnclick="location.href=location.href">
</body>
</html>