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