Answers for "refresh page every second javascript"

2

refresh page every second javascript

<script>
    window.setInterval('refresh()', 10000); 	
    // Call a function every 10000 milliseconds 
    // (OR 10 seconds).

    // Refresh or reload page.
    function refresh() {
        window .location.reload();
    }
</script>
Posted by: Guest on March-27-2020
0

reload page jquery timer

setTimeout(function(){
   window.location.reload(1);
}, 5000);
Posted by: Guest on October-09-2020
0

refresh page every second javascript

let seconds = 1 // Repeat every 1 second.
setInterval(function() {
	window.location.reload(1)
},seconds/1000)
Posted by: Guest on September-06-2021

Code answers related to "refresh page every second javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language