K
Kerri
Hi,
I have a span as below.
<span id="lblTest" style="color:#FF0033;font-
weight:bold;">This is a test.</span>
When the user clicks a checkbox I call below code to set
my span text to blank.
var el = document.MyForm.getElementById("Test");
el.innerHTML="";
I have also tried using innerText property.
What am I doing wrong here?
Thanks,
Kerrt.
I have a span as below.
<span id="lblTest" style="color:#FF0033;font-
weight:bold;">This is a test.</span>
When the user clicks a checkbox I call below code to set
my span text to blank.
var el = document.MyForm.getElementById("Test");
el.innerHTML="";
I have also tried using innerText property.
What am I doing wrong here?
Thanks,
Kerrt.