Remove element which matches multiple classes
<p>I'm trying to remove an element that holds two classes, one hard coded, and the other which is passed as a variable:</p>

<pre><code>variable = 'class2';
$('.class1.'+variable).remove();
</code></pre>

<p>This has no effect though!</p>

<p>Thanks.</p>
