Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

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>
Comment

javascript refresh page every 30 seconds

setTimeout(function() {
  location.reload();
}, 30000);
Comment

PREVIOUS NEXT
Code Example
Javascript :: giving an html element own attribute js 
:: jQuery export to Excel with formatting 
::  
::  
Javascript :: function reducer sintaxe 
:: Brython convert Python to JavaScript online 
::  
Javascript ::  
:: limiting the length of dynamic text inside html element 
Javascript ::  
Javascript ::  
::  
::  
Javascript :: template literals multiline js 
Javascript :: javascript onclick parameters 
Javascript :: regex match but ignore part 
Javascript :: how to Initialize and fill an array with the specified values in javascript 
:: how to turn a multiple dimensional object into single array 
:: angular pass template value from component 
::  
:: sw.js 
Javascript :: how to find prime factors of a number in javascript 
Javascript :: errorhandler npm 
::  
Javascript ::  
:: jquery ui music player 
:: remove all special characters online 
Javascript :: Private slots are new and can be created via Static initialisation blocks in classes 
:: typeorm sqlite Using async/await syntax 
:: req.parms en react js 
ADD CONTENT
Topic
Content
Source link
Name
8+9 =