jquery check element with two còasses code example
Example 1: jquery select element with two classes
$('.class1.class2') // select element that has both class1 and class2
Example 2: jquery select 2 classes
$(".class1, .class2, .class3") //select classes independently