refresh window js
window.location.reload();
how to reload the same page using javascript
BY LOVE
window.location.reload();
refresh page js
//with no cache
document.location.reload(true);
//else
document.location.reload();
refresh page js
window.location.reload(true);
refresh page js
<!DOCTYPE html>
<html>
<body>
<p id="demo">Click the button Try it </p>
<button onclick="myFunction()">Try it</button>
<button onClick="window.location.reload();">Refresh Page</button>
<script>
function myFunction() {
document.getElementById("demo").innerHTML = "Click the button refrech PAGE";
}
</script>
</body>
</html>
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us