It's not built-in, but there are plugins for it:
http://www.google.com/search?q=jquery+unwrap

Or you could use replaceWith:

http://docs.jquery.com/Manipulation/replaceWith

<http://www.google.com/search?q=jquery+unwrap>- Richard

On Thu, Aug 6, 2009 at 10:42 AM, paulswansea <sendtoswan...@hotmail.com>wrote:

>
> I'm trying to remove a link, but keep the content within, is there a
> simple way to do this in jquery?
>
> <div>***<a href=""><div>This is a test</div></a></div>
>
> turns into
>
> <div>***<div>This is a test</div></div>

Reply via email to