I have a LinkButton (initially disabled) that needs to be enabled or disabled using jquery, but it seems like disabling the button with the method I'm using removes the href attribute, so when I re-enable it, the button looks enabled, but it's not clickable.
<asp:LinkButton Id="lbSave" runat="server" Text="Save" Enabled="False" ClientIDMode="Static" />
Disable:
$('#lbSave').attr('disabled', 'disabled');
Enable:
$('#lbSave').removeAttr('disabled');
What's the correct way to enable/disable LinkButtons?