title: Wrap text within element
body: <p>I need to wrap text inside a div with a span.</p>
  
  <pre><code>&lt;div class="item"&gt;
     &lt;span class="count"&gt;&lt;/span&gt;
     Text that needs to be wrapped.
  &lt;/div&gt;
  
  &lt;div class="item"&gt;
     &lt;span class="count"&gt;&lt;/span&gt;
     Text that needs to be wrapped.
  &lt;/div&gt;
  
  &lt;div class="item"&gt;
     &lt;span class="count"&gt;&lt;/span&gt;
     Text that needs to be wrapped.
  &lt;/div&gt;
  </code></pre>
  
  <p>Tried this but it did not really work...</p>
  
  <pre><code>$('.item').text().wrap('&lt;span class="new" /&gt;'); 
  </code></pre>