queryselectorAll - find an element with more than one matching class
<p>Using the JS queryselectorall method is it possible to select an elemnent of a particular tag name with 2 matching classes.</p>

<p>E.g. I have an element</p>

<pre><code>&lt;a class="classOne classTwo"&gt;&lt;/a&gt;
</code></pre>

<p>using queryselectorall I can select on one classname:</p>

<pre><code>document.querySelectorAll("a.classOne");
</code></pre>

<p>how could this be extended so I can find all a tags with classOne AND classTwo?</p>

<p>document.querySelectorAll("a.classOne classTwo"); as expected doesn't seem to work</p>

<p>Thanks in advance</p>
