javascript error with label
<p>I have a function as follows:</p>

<pre><code>function textNext(element, num) {
    document.getElementById("lblContent").innerHTML = "hello";
}
</code></pre>

<p>However, the text of the <code>lblContent</code> label won't change when the function is called. </p>

<p>What am I doing wrong?</p>

<p>btw : lblContent is of type asp:Label</p>
