jquery set enabled button code example
Example 1: jquery add disabled to button
$("#button").attr("disabled", true);
Example 2: enable button jquery
$('#ButtonId').prop('disabled', false);
$("#button").attr("disabled", true);
$('#ButtonId').prop('disabled', false);