Answers for "refresh for 1 time in js"

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 "Javascript"

Browse Popular Code Answers by Language