如何用javascript防止连打
2010-09-14 13:14:33 来源:WEB开发网核心提示:javaScript代码:function doubleCheck(){if (window.document.readyState != null &&window.document.readyState != 'complete'){alert("正在处理,请等待!");retu
javaScript代码:
function doubleCheck(){
在C#代码中:
if (window.document.readyState != null &&
window.document.readyState != 'complete')
{
alert("正在处理,请等待!");
return false;
}
else
{
MessageClear();
return true;
}
}
this.backButton.Attributes["onClick"] = "return doubleCheck()";
http://www.cnblogs.com/dahuzizyd/archive/2007/01/04/javascript_double_click.html
Tags:如何 javascript 防止
编辑录入:爽爽 [复制链接] [打 印]更多精彩
赞助商链接