Closest previous element with certain ID (with prev())?
<p>I have a big div wit a lot of smaller divs within it. Say,</p>

<pre><code>    &lt;div id="parent"&gt;
 &lt;div id="child1"&gt;
 &lt;/div&gt;
 &lt;div id="child1"&gt;
 &lt;/div&gt;
 &lt;div id="child2"&gt;
 &lt;/div&gt;
 &lt;div id="child1"&gt;
 &lt;/div&gt;
 &lt;div id="child1"&gt;
 &lt;/div&gt;
&lt;/div&gt;
</code></pre>

<p>If I'm currently at the last 'child1', how dow I get to the top most child1 with prev()? For me it breaks when it reaches 'child2'.</p>
