Refresh (reload) a page once using jQuery - Javascript Browser Object Model

Javascript examples for Browser Object Model:Window Load

Description

Refresh (reload) a page once using jQuery

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <title>Reload (Refresh) Page Using Jquery</title> 
  <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> 
  <script type="text/javascript">
            $(document).ready(function () {
                $('#reload').click(function() {
                    window.location.reload();
                });//from www  .  j a v a2  s  .  c o  m
            });
        
      </script> 
 </head> 
 <body> 
  <button id="reload">Reload (Refresh) Page Using</button>  
 </body>
</html>

Related Tutorials