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