title: jQuery select all except last
body: <p>Using jQuery how can you select all elements but the last?</p>
  
  <pre><code>&lt;div class='elem'&gt;1&lt;/div&gt;
  &lt;div class='elem'&gt;2&lt;/div&gt;
  &lt;div class='elem'&gt;3&lt;/div&gt;
  </code></pre>
  
  <p>For example I want hide div's 1 and 2, but keep three.</p>