Get element with specific class
<p>I have several divs in my variable <code>offers</code> and I want to retrieve the one with class <code>special</code>. How can I find that element? Or apply selector on variable <code>offers</code>?</p>

<p>For Example offers contain:</p>

<pre><code>&lt;div class="special"&gt;A&lt;/div&gt;
&lt;div class="notspecial"&gt;B&lt;/div&gt;
&lt;div class="notspecial"&gt;C&lt;/div&gt;
&lt;div class="special"&gt;D&lt;/div&gt;
</code></pre>