I have a link:
<a id="theLink" href="h***://stackoverflow.com">Go to SO</a>
How can I use prototype to either strip <a>
's or just leave the innerHTML so that the elements becomes:
[h***://stackoverflow.com]
(something that is no longer clickable)?
Or maybe convert the <a>
to a <span>