javascript + getclassname by two classes code example
Example 1: javascript get element by multiple class names
document.getElementsByClassName('class1 class2')
Example 2: getelementbyclassname get multiple class
document.querySelectorAll('.a,.b')