Unwrap selected element Javascript or Jquery
<p>This is my html.</p>

<pre><code>&lt;span id="current" class="green unselctable" data-original-title="" title=""&gt;
    Lorem Ipsum is simply dummy
&lt;/span&gt;
</code></pre>

<p>I'm selecting with with <code>$("#current")</code> but if I use the jQuery unwrap function the parent tag gets removed.</p>

<p>Is there any way to remove the span in JavaScript or jQuery without parsing the string and appending it to the dom?</p>

<p><strong>Edit</strong>
I wanna keep the content of the div. I just want the tag removed.</p>
