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