refresh window js
window.location.reload();
refresh page js
//with no cache
document.location.reload(true);
//else
document.location.reload();
javascript refresh page
<script type="text/javascript">
function autoRefreshPage()
{
window.location = window.location.href;
}
setInterval('autoRefreshPage()', 10000);
</script>
js refresh
function refresh(milliseconds) {
console.log("Refreshing");
setTimeout("location.reload(true);", milliseconds);
}
function your_code() {
//code stuff
refresh(1000); //refreshes after 1 second
}
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