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