Wednesday 8 October 2014

How to Page Refreh Automatic or Reload Using JavaScript

No comments    
categories: , ,
Refresh the  page using JavaScript


Html Coding





<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>

   <script type ="text/javascript" lang="javascript">


       var idleInterval = setInterval("reloadPage()", 10000)

       function reloadPage() {
           location.reload();
       }

   </script>

</head>
<body>
    <form id="form1" runat="server">
    <div>
       
       
    </div>
    </form>
</body>
</html>



0 comments:

Post a Comment