Remove anchor tags using jQuery
jquery
Solution
Alternate solution:
$("a#link").replaceWith($("a#link").text());
Problem
My html: ``` <div class="example"> <a id="link" href="http://www.google.com">Example</a> </div> ``` jQuery ``` $('a#link').remove(); ``` What I would like to do, is make the html look like this after the `<a>` tag is removed: ``` <div class="example"> Example </div> ``` How do I remove just the ``` <a> </a> ``` part?