Can someone help me figure out why the text of my label won't change when I call this function?
function updateText(element, num) {
document.getElementById("lblContent").innerHTML = "hello";
}
I have a asp:Label
element with an ID of lblContent
, but for some reason the text doesn't update as expected.
Any suggestions on what might be causing this issue?