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:
You should use the class name like this
$(document).ready(function(){ $('input.addCheck').prop('checked',true); });
Try Using this a live demo