用jquery 刷新 重新加载页面我们可以使用 jquery location.reload()函数来刷新或者重新加载页面 <html> <head> <title>Refresh a page in jQuery</title> <script type="text/javascript" src="js/jquery-1.6.4.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> |
|
来自: java_laq小馆 > 《jquery》