<div id= "sending" style= "filter:alpha(opacity=80); position:absolute; top:310px; left:300px; z-index:10; visibility:hidden; width: 617px; height: 81px; ">
<TABLE WIDTH=80% BORDER=0 CELLSPACING=0 CELLPADDING=0>
<TR>
<td width=30%></td>
<td bgcolor=#104A7B>
<table WIDTH=100% height=80 BORDER=0 CELLSPACING=2 CELLPADDING=0>
<tr>
<td bgcolor=#eeeeee align=center> 正在处理数据,请稍候... </td>
</tr>
</table>
</td>
<td width=30%></td>
</tr>
</table>
</div>
提交数据方法中:
document.getElementById("sending").style.visibility= "visible";
$("#buttonConfirm").attr("disabled","disabled");
var action = "<c:out value='${pageContext.request.contextPath}'/>/kgBuDispatchdetailAction!updateDispatch_in.ilf?object.formId="+$("#id1").val();
document.forms[0].action = action;
document.forms[0].submit();