title: If innerHTML is evil, then what's a better way change the text of a link?
body: <p>I know innerHTML is supposedly evil, but I think it's the simplest way to change link text. For example:</p>
  
  <pre><code>&lt;a id="mylink" href=""&gt;click me&lt;/a&gt;
  </code></pre>
  
  <p>In JS you can change the text with:</p>
  
  <pre><code>document.getElementById("mylink").innerHTML = new_text;
  </code></pre>
  
  <p>And in Prototype/jQuery: </p>
  
  <pre><code>$("mylink").innerHTML = new_text;
  </code></pre>
  
  <p>works fine. Otherwise you have to replace all of the child nodes first and then add a text node. Why bother?</p>