"querySelectorAll ()" with multiple conditions in JavaScript
https://stackoverflow.com/questions/34001917/queryselectorall-with-multiple-conditions-in-javascript
WebMay 16, 2023 · Is it possible to make a search by querySelectorAll using multiple unrelated conditions? Yes, because querySelectorAll accepts full CSS selectors, and CSS has the concept of selector groups, which lets you specify more than one unrelated selector. For instance: var list = document.querySelectorAll("form, p, legend");
DA: 46 PA: 78 MOZ Rank: 89