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