Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

page reload timeout

  setTimeout(function(){
   window.location.reload(1);
}, 20000);
Comment

Automatically Refresh or Reload a Page using setTimeout()

<!DOCTYPE html>  
<html>  
<head>  
    <title>Page Reload after 10 seconds</title>  
</head>  
<body>  
  
<h2>Softhunt.net</h2>  
  
</body>  
  
<script type="text/javascript">  
   setTimeout(function(){  
       location.reload();  
   },10000);  
</script>  
</html>
Comment

PREVIOUS NEXT
Code Example
Javascript :: how to hide header in react navigation 
Javascript :: box shadow react native 
Javascript :: updating node js ubuntu 
Javascript :: remove all characters from string javascript 
Javascript :: javascript roman to integer 
Javascript :: javascript appendchild image node 
Javascript :: make react app 
Javascript :: javascript throw vs console.error 
Javascript :: js post 
Javascript :: js scroll to top 
Javascript :: javascript get element width 
Javascript :: Could not resolve dependency: peer react@"^18.2.0" from react-dom@18.2.0 
Javascript :: how to generate a random number in javascript 
Javascript :: href back page javascript 
Javascript :: .gitignore nodejs 
Javascript :: give height to Image in nextjs 
Javascript :: check comma in string javascript 
Javascript :: z index style javascript 
Javascript :: js arrondir a deux decimal 
Javascript :: javascript remove focus from button 
Javascript :: moment remove one day 
Javascript :: loop through checkboxes jquery 
Javascript :: node js quit 
Javascript :: get radio button value javascript 
Javascript :: react fetch post 
Javascript :: bootstrap not working in angular 
Javascript :: get value of selected checkbox jquery 
Javascript :: html div scroll 
Javascript :: Unknown command: "create-react-app" 
Javascript :: replace class jquery 
ADD CONTENT
Topic
Content
Source link
Name
2+9 =