Answers for "javascript refresh page every 30 seconds"

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
1

javascript refresh page every 30 seconds

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

Code answers related to "javascript refresh page every 30 seconds"

Code answers related to "Javascript"

Browse Popular Code Answers by Language