jquery disable and enable button code example
Example 1: jquery add disabled to button
$("#button").attr("disabled", true);
Example 2: jquery disable button
function disable(i){
$("#rbutton_"+i).prop("disabled",true);
}
Example 3: enable button jquery
$('#ButtonId').prop('disabled', false);