Javascript Browser location refresh a page
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery Reload the Current Page</title> <script src="https://code.jquery.com/jquery-1.12.4.min.js"></script> <script> $(document).ready(function(){ $("button").click(function(){ location.reload(true);/*from w w w .jav a 2s . c o m*/ }); }); </script> </head> <body> <p>Click the following button to reload this page, without using the cache.</p> <button type="button">Reload page</button> </body> </html>