日期:2014-05-18 浏览次数:20738 次
<%@ page contentType="text/html; charset=GBK" %> <%@ page import="java.util.*" %> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title>测试</title> <meta name="description" content="author:rex yang"> <script language="JavaScript" src="js/function.js"></script> <script language="JavaScript" type="text/javascript"> function enterBar(obj){ obj.className="lt1"; } function outBar(obj){ obj.className="lt0"; } function saveData() { document.all['Layer1'].style.visibility='visible'; alert("ok"); alert("ok1"); //form1.target="_blank"; form1.action="jsp1.jsp?er=1"; form1.submit(); } </script> <link href="skin/a/style.css" rel="stylesheet" type="text/css"> <style type="text/css"> <!-- .style2 { color: #000000; font-weight: bold; font-size: 16px; } --> </style> </head> <body leftmargin="0" topmargin="0"> <form action="" method="post" name="form1" > <% String er=request.getParameter("er"); if( er!=null) { int i; for(i=0;i<1000000000;i++); } %> <table width="100%" border="0" cellpadding="0" cellspacing="0" > <tr> <td colspan="8"> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="70%" colspan="2" height="32" nowrap class="tdtd" align="right"> <input type="submit" name="Submit" class="btn" value="处理" onClick="saveData()" > </td> <td width="30%" colspan="2" nowrap class="tdtd"> </td> </tr> </table> </td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="20" colspan="3" class="tdFooter"> </td> <tr> <div id="Layer1" style="position:absolute; width:261px; height:16px; z-index:100; left: 102px; top: 20px; visibility: hidden;"> <img src="loading.gif" width="158" height="15" align="absmiddle" v=""> 请稍候...</div> <td width="120" nowrap class="tdtd"></td> <!--image/loading.gif--> <td width="160" nowrap class="tdtd"> <p id="waithint"></p></td> <!--image/loading.gif--> <td width="125" nowrap class="tdtd"> </td> <td nowrap class="tdtd"></td> <!--image/loading.gif--> </tr> </tr> </table> </form> </body> </html>