What is the most efficient way to select all dom elements that have a certain attribute.
With plain javascript I wo
Ok I found it in the cheerio documentation, here is how you do it:
$('[name=mode]')
cheerio docs: Selectors