您的位置:首页 > 博客中心 > 电脑问题 >

C# 定时器

时间:2022-03-17 23:53

 

  <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);
            }

本类排行

今日推荐

热门手游