//// HTML
<asp:Button ID="button" runat="server"
Text="Click Me !"
OnClick="Button_Click"
ClientIDMode="Static" CssClass="butt pull-right"
OnClientClick="this.disabled =
true;"
UseSubmitBehavior="False"/>
/// You can set the timeout of that function using jquery
/////// JS
setTimeout(EnableBTN, 5000);
function EnableBTN() {
$("[id*=button]").removeAttr("disabled");
};
No comments:
Post a Comment