jquery disable a button by id code example Example: jquery add disabled to button $("#button").attr("disabled", true);