Answers for "refresh js page 1 more"

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
10

how to reload the same page using javascript

BY LOVE
window.location.reload();
Posted by: Guest on May-09-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language