Dynamically update hyperkink link text with Javascript
<p>I wish to change the text of the hyperlink dynamically, and trigger the change with Javascript.</p>

<p>I have html:</p>

<pre><code>&lt;a id="HyperlinkID" href="#" &gt;Original text&lt;/a&gt;
</code></pre>

<p>Javascript:</p>

<pre><code>$("a#HyperlinkID").text() = "Text changed";
</code></pre>

<p>That does not seem to work.</p>

<p>What is the right way to change the text?</p>
