Thursday, July 26, 2012

Enable/Disable Asp.net Button using jquery

To enable
 $('#btnTransferPatient').attr('disabled', false);
 $("#btnTransferPatient").removeClass('aspNetDisabled');

To disable
$('#btnTransferPatient').attr('disabled', true);
$("#btnTransferPatient").addClass('aspNetDisabled');

1 comment: