jquery set button to enabled code example Example: jquery disable button function disable(i){ $("#rbutton_"+i).prop("disabled",true); }