Jquery multiple class selector
Posted
by Mladen
on Stack Overflow
See other posts from Stack Overflow
or by Mladen
Published on 2009-06-24T22:28:58Z
Indexed on
2010/04/26
0:23 UTC
Read the original article
Hit count: 655
Hi guys,
I want to select all the elements that have these two classes 'a' and 'b'. So, only the elements that have both classes. When I use $(".a, .b") it gives me union, but I want intersection.
© Stack Overflow or respective owner