location.reload()
<!DOCTYPE html>
<html>
<head>
<title>
location.reload() method
</title>
<script>
function fun() {
location.reload();
}
</script>
</head>
<body>
<p> Welcome to the bianchenghao6.com </p>
<p> This is an example of location.reload() method </p>
<p> Click the following 'Reload' button to see the effect. </p>
<button onclick = "fun()"> Reload </button>
</body>
</html>
Welcome to the bianchenghao6.com
This is an example of location.reload() method
Click the following 'Reload' button to see the effect.
<button onclick = "location.reload()"> Reload </button>