I would like to select a set of elements that are both of a certain input type (say, a checkbox) and have a certain class using jQuery. However, when I try the following:
Try this:
$("input:checkbox").hasClass("myClass");