Reload page with JavaScript

July 4th, 2011 by Alex Leave a reply »

There’s a couple options for this in JavaScript

window.location.href=window.location.href;
window.location.reload();
history.go(0);

In HTML, it’s simply

<!-- reload in 60 seconds -->
<meta http-equiv="refresh" content="60" />

Comments are closed.