Update text without killing href
<p>I am trying to update the text in the following HTML, what is now 1050.</p>

<pre><code>&lt;h2 class="g1 RightText" id="commandCount"&gt;&lt;a href="@Url.Action("Index", "Commands")"&gt;1050&lt;/a&gt;&lt;/h2&gt;
</code></pre>

<p>I have tried the following, but these remove the href link:</p>

<pre><code>$("#commandCount").text(commandCount);
$("#commandCount").html(commandCount);
</code></pre>

<p>any ideas?</p>
