码迷,mamicode.com
首页 > Windows程序 > 详细

C# 定时器

时间:2016-06-02 13:21:07      阅读:188      评论:0      收藏:0      [点我收藏+]

标签:

 

  <asp:Button ID="SubmitPurchase" Text="提交采购" CausesValidation="true" Width="75px" Height="30px" runat="server" UseSubmitBehavior="false" OnClick="SubmitPurchase_Click" OnClientClick="clientClick()" CssClass="buttonSumbit" />

function clientClick()
            {
             setTimeout(function () {
                    var btn = document.getElementById(‘<%=SubmitPurchase.ClientID %>‘);
                    btn.style.display = "none";
                    setTimeout(function () {
                        btn.style.display = "";
                    }, 30000);
                }, 1000);
            }

C# 定时器

标签:

原文地址:http://www.cnblogs.com/hanxingli/p/5552549.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!