$('.a.b')
If you want an intersection, just write the selectors together without spaces in between. So for an element that has an ID of a
with classes b
and c
, you would write:
$('#a.b.c')
Read full article from jQuery multiple class selector - Stack Overflow
No comments:
Post a Comment