Apply CSS to multiple elements in variables
<p>I have this:</p>

<pre><code>var $e1 = $('#e1');
var $e2 = $('#e2');
var $e3 = $('#e3');
</code></pre>

<p>This doesn't work:</p>

<pre><code>var $all = [$e1, $e2, $e3];
$($all).css('background', '#ff0000');
</code></pre>

<p>How should I do this, while reusing $el1, $el2, $el3?</p>

<p>I don't want to do:</p>

<pre><code>$('#e1, #e2, #e3')
</code></pre>

<p>This is probably very simple to do, but I don't know what to search for to find out.</p>
