jQuery: Disable all links within a div - replace with inner content
Posted
by Chris
on Stack Overflow
See other posts from Stack Overflow
or by Chris
Published on 2010-05-20T15:17:19Z
Indexed on
2010/05/20
15:20 UTC
Read the original article
Hit count: 135
jQuery
I want to disable all links within a div and replace it with the content that was there.
i.e.
<div><a href="/blah.html">My super link</a></div>
to
<div>My super link</div>
Thanks
© Stack Overflow or respective owner