How to remove only tag using jQuery?

Posted by Wazdesign on Stack Overflow See other posts from Stack Overflow or by Wazdesign
Published on 2010-04-27T06:04:47Z Indexed on 2010/04/27 6:13 UTC
Read the original article Hit count: 357

Filed under:
|
|
<div>
<ul>
<li><a href="#"><span>link</span></a></li>
<li><a href="#"><span>link</span></a></li>
</ul>
</div>

Hi I want to remove the span using jQuery, I have tried the .unwrap(); but its not working.

please do needful.

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about javascript-events