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