0

I have two data attributes (let's call them data-foo && data-bar). And i'd like to do something like that document.querySelectorAll('[data-foo="hey"] **AND** [data-bar="ho"]). I know how to do a OR but i can't find how to AND with selectors. Can you please help ?

Creep
  • 300
  • 3
  • 12

0 Answers0