Disable with jQuery enable with Server
I am disabling a button with jQuery like this:
$(document).ready(function(e){
$('#myButton').click(function (e) {
$('#myButton').attr('disabled', 'disabled');
__doPostBack('myButton', '');
});
and on the server:
myButton.Enabled = true;
but the button is still disabled on post back.
Very confused.