title: How to remove text inside an element with jQuery?
body: <p>I have a script that creates a list of items with a structure like this:</p>
  
  <pre><code>&lt;li&gt;
      &lt;div&gt;Some stuff&lt;/div&gt;
      &lt;a href="http://www.mysite.com/"&gt;New Item&lt;/a&gt; 
      (1 vote)
  &lt;/li&gt;
  </code></pre>
  
  <p>I was wondering if there was a way to remove everything outside the <code>&lt;div&gt;</code> and <code>&lt;a&gt;</code> tags, in this case the (1 vote) string, with jQuery or regular javascript.</p>
  
  <p>Thanks in advance!</p>