jquery disable class attribute

JavaScript
$("input.myclass").attr("disabled", true);$("input.myclass").attr("disabled", true);
Source

Also in JavaScript: