how disable button in jquery 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);
}
$("#button").attr("disabled", true);
function disable(i){
$("#rbutton_"+i).prop("disabled",true);
}