title: jQuery: replace text inside link?
body: <p>I have the following html structure:</p>
  
  <pre><code>&lt;div class="event tiny"&gt;
      &lt;a href="/whatever"&gt;Something&lt;/a&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>And I want to replace the <code>text</code> of this link with "Anything" …</p>
  
  <p>When doing this …</p>
  
  <p><code>$('.event  a').replaceWith("Anything");</code></p>
  
  <p>… the text is replaced but also the link is gone.</p>
  
  <p>When doing this … </p>
  
  <p><code>$('.event  a').text().replaceWith("Anything");</code></p>
  
  <p>… nothing happens.</p>