title: Remove Items From End Of Container With JQuery
body: <p>I have a feed of items coming into a list using the prepend method. I've been searching but can't find a method to remove X number of items from the end - to prevent it overflowing.</p>
  
  <p>How do I remove the last 3 elements from this list using jquery?</p>
  
  <pre><code>&lt;div id="feed"&gt;
  &lt;ul&gt;
  &lt;li class="item"&gt;&lt;/li&gt;
  &lt;li class="item"&gt;&lt;/li&gt;
  &lt;li class="item"&gt;&lt;/li&gt;
  &lt;li class="item"&gt;&lt;/li&gt;
  &lt;li class="item"&gt;&lt;/li&gt;
  &lt;li class="item"&gt;&lt;/li&gt;
  &lt;/ul&gt;
  &lt;/div&gt;
  </code></pre>