重新加载文档

  1. <html>
  2. <head>
  3. <script type="text/javascript">
  4. function reloadPage()
  5. {
  6. window.location.reload();
  7. }
  8. </script>
  9. </head>
  10. <body>
  11.  
  12. <input type="button" value="重新加载页面" onclick="reloadPage()" />
  13.  
  14. </body>
  15. </html>