Right now the only way to match if an element has multiple classes is by calling hasClass() multiple times. It would be convenient if you could match multiple classes, with an option if all classes are required (AND) or if only at least one is required (OR).
Right now the only way to match if an element has multiple classes is by calling hasClass() multiple times. It would be convenient if you could match multiple classes, with an option if all classes are required (AND) or if only at least one is required (OR).
For example: