document.forms[0].onsubmit=function () {
if (window.document.readyState != null &&
window.document.readyState != 'complete')
{
alert("正在处理,请稍候!");
return false;
}
else
{
return true;
}
}
转载于:https://www.cnblogs.com/tangself/archive/2009/12/11/1621983.html