Remove a div with the same class as another div
<p>I have two divs:</p>

<pre><code>&lt;div class="dialog large"&gt;&lt;/div&gt;
</code></pre>

<p>and</p>

<pre><code>&lt;div class="dialog"&gt;&lt;/div&gt;
</code></pre>

<p>I have to remove the one with the class "dialog" but keep the one with "dialog large".</p>

<p>If I do <code>$('dialog').remove();</code> they are both removed.</p>

<p>Can anyone help me with this?</p>
