title: Remove element with jQuery but leave text
body: <p>I've got some html that looks like this:</p>
  
  <pre><code>&lt;div&gt;
      &lt;span class="red"&gt;red text&lt;/span&gt; some more text &lt;span class="blue"&gt;blue text&lt;/span&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>What I want to do is use jQuery to remove all the spans within the div regardless of attached class, but leave the text within the span tags behind. So the final result will be:</p>
  
  <pre><code>&lt;div&gt;
      red text some more text blue text
  &lt;/div&gt;
  </code></pre>
  
  <p>I've tried to use the <code>unwrap()</code> method but it unwraps the div. I've also tried to remove the elements but that removes the elements and their text.</p>