find multiple classes jquery 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
Example 3: jquery hasclass multiple classes
jQuery('button').click(function(){
var hcls =jQuery('p').hasClass('class2').addClass('class2');
if(hcls == true){
alert('Yuor class is remove ');
}
else{
alert('your class is nnot remove');
}
});