Is it possible in jQuery or CSS (since I think they use the same selector logic) to say select elements that have multiple classes. For example:
<div class='class1'></div>
<div class='class2'></div>
<div class='class1 class2'></div>
Is there a way I can say I want elements that are of both class1 and class2 (therefore only get the third div in this case)?