How to refresh a page in jQuery?
Published: May 10, 2010 , Updated: May 5, 2010 , Author: mkyong
To refresh or reload a page with jQuery, you can use the “location.reload();” command.
<html> <head> <title>Refresh a page in jQuery</title> <script type="text/javascript" src="jquery-1.3.2.min.js"></script> </head> <body> <button id="PageRefresh">Refresh a Page in jQuery</button> <script type="text/javascript"> $('#PageRefresh').click(function() { location.reload(); }); </script> </body> </html>
Any Java questions or problems? please post at this JavaNullPointer.com forum, see you there ~
[ Read More ] You can find more similar articles at jQuery Tutorials
[...] Page refresh with jQuery Refresh a page with jQuery location.reload(); [...]