I must be loosing it, but i'm not sure what :-)
i have a standard asp:button control with a code behind click event.
then, to prevent double click i disable the button on client click:
$('#<%=BTN_GCR_CheckCardValue2.ClientID %>').bind('click', function () {
$('#<%=BTN_GCR_CheckCardValue2.ClientID %>').attr('disabled', 'disabled');
});
the disabled works, and the page posts back (enters the load event of the page), but doesn't enter the code behind event.
this jquery code is with the bind method, also tried it with click, same result.
what am i overlooking?
EDIT the button
<asp:Button ID="BTN_GCR_CheckCardValue2" runat="server" CssClass="individual_small_inputs"
OnClick="BTN_GCR_CheckCardValue2_Click" Text="CHECK" />
which leads to
<input type="submit" name="ctl00$ctl00$CPHMainSection$CPH_LeftSection$BTN_GCR_CheckCardValue2" value="CHECK" id="ctl00_ctl00_CPHMainSection_CPH_LeftSection_BTN_GCR_CheckCardValue2" class="individual_small_inputs" />