Select all previous elements within a container?
<p>I have this code:</p>

<pre><code>&lt;div id="whatever"&gt;
    &lt;span&gt;1&lt;/span&gt;
    &lt;span&gt;2&lt;/span&gt;
    &lt;span&gt;3&lt;/span&gt;
    &lt;span&gt;4&lt;/span&gt;
&lt;/div&gt;
&lt;div id="whatever2"&gt;
    &lt;span&gt;1&lt;/span&gt;
    &lt;span&gt;2&lt;/span&gt;
    &lt;span&gt;3&lt;/span&gt;
    &lt;span&gt;4&lt;/span&gt;
&lt;/div&gt;
</code></pre>

<p>And I need to select with jQuery all the previous spans from the one that I hover within the same div. </p>

<p>Does anyone know how I can do this?</p>
