↧
Answer by GrafiCode for JQuery multiple AND OR selector
You possible outcomes are:.a.c.a.d.b.c.b.dhence:$('.a.c, .a.d, .b.c, .b.d')
View ArticleAnswer by jfriend00 for JQuery multiple AND OR selector
You could use a compound statement where you get all the items that meet the first criteria then filter that out to just the items that meet the second criteria. This is a bit more scalable if there...
View ArticleAnswer by Tyler Crompton for JQuery multiple AND OR selector
If it's truly that simply, you could just do the Cartesian product and list each possibility:$('.A.C, .A.D, .B.C, .B.D');
View ArticleJQuery multiple AND OR selector
I need to select HTML DOM elements with multiple selectors.For example, I would like to select all dom that have classes A or B and classes D or C.Litteraly :((A OR B) AND (C OR D))How can i do that in...
View Article
More Pages to Explore .....