$('.class1.class2') // select element that has both class1 and class2
$(".class1, .class2, .class3") //select classes independently