If I have this:
<a href="#" id="the-link"><em>any random text</em></a>
Or this:
<a href="#" id="the-link">any random text</a>
Or this:
<a href="#" id="the-link"><em><div id="foo"><span>any random text</span></div></em></a>
I would like to capture the text "any random text" and then replace it.
How can I do this with jQuery? If not with jQuery, just regular javascript?