Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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>
Source by softhunt.net #
 
PREVIOUS NEXT
Tagged: #Automatically #Refresh #Reload #Page
ADD COMMENT
Topic
Name
2+5 =