↧
Answer by Guffa for jQuery selector with "and" and "or"
You stack the selectors together to find elements that matches both, and use the , combinator between...
View ArticleAnswer by zerkms for jQuery selector with "and" and "or"
$('div[data-positiontype="3"]').filter('[data-positiontitle*="test"], [data-positiondesc*="test"]').or the straightforward:$('div[data-positiontype="3"][data-positiontitle*="test"],...
View ArticlejQuery selector with "and" and "or"
Can somebody help me with the syntax of what I'm trying to do here?jQuery('(div[data-positiontype="3"]) && (div[data-positiontitle*="test"] || div[data-positiondesc*='test'])')Basically I need...
View Article