jquery enable submit button
snippet in javascript

jquery add disabled to button

user3645

$("#button").attr("disabled", true);

jquery disable button

user8497

function disable(i){
    $("#rbutton_"+i).prop("disabled",true);
}

jquery enable submit button

user4932

//jQuery 1.6+ use:
$("#submitButtonID").prop('disabled', true); //disable 
$("#submitButtonID").prop('disabled', false); //enable

//jQuery 1.5 and below use:
$("#submitButtonID").attr('disabled','disabled'); //disable 
$("#submitButtonID").removeAttr('disabled'); //enable