110,566
社区成员
发帖
与我相关
我的任务
分享
<div>
<asp:Button ID="btn" runat="server" Text="What time is it, please!" OnClientClick="return stop(this)"
OnClick="btn_Click" />
<br />
<asp:Label ID=Label1 runat=server></asp:Label>
</div>
<script type="text/javascript">
function stop(par)
{
setTimeout("$('#"+par.id+"').attr('disabled','disabled')",1);
return true;
}
</script>