jquery disable all inputs with class code example Example: jquery disable class attribute $("input.myclass").attr("disabled", true);