Answers for "how to refresh a page after 10 seconds in javascript"

1

javascript refresh page every 30 seconds

setTimeout(function() {
  location.reload();
}, 30000);
Posted by: Guest on October-22-2020
0

javascript reload page one time

window.onload = function() {
	if(!window.location.hash) {
		window.location = window.location + '#loaded';
		window.location.reload();
	}
}
Posted by: Guest on June-10-2020

Code answers related to "how to refresh a page after 10 seconds in javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language