<!DOCTYPE> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>正在载入</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <script type="text/javascript"> function submitForm() { var doing = document.getElementById("doing"); //获取界面的doing doing.style.display = ''; //取消隐藏 self.location.reload(); //重新加载页面来模拟表单提交 } </script> </head> <body style="text-align: center"> <div id="doing" style=" 100%; height: 100%; z-index: 99; left: 0px; top: 0px; display: none; position: absolute; background: gray;"> <br /><br /><br />载入中,请等待…… </div> <p> <input type="button" value="提交表单" onclick="submitForm();"/> </p> </body> </html>