disabled in jquery doesn't apply css to button code example Example: jquery disable class attribute $("input.myclass").attr("disabled", true);