jquery linking two elements with different classes code example
Example: jquery select element with two classes
$('.class1.class2') // select element that has both class1 and class2
$('.class1.class2') // select element that has both class1 and class2