Is it possible to combine $(this) with $('.someclass')?
Example: $(this + ', .someclass').hover();
I am attempting to use the hover action to animate a non-descendent class. I want the class element to animate whether “it”, aka $(‘.someclass’) OR $(this) is hovered.
I’m hoping this can be done without creating 2 separate hover actions.
You can use jQuery’s
.add().