I have this written in a certain Javascript function.
document.getElementById("textbox").innerHTML = "some text";
This does what you’d expect. However, if I slightly modify it to try to clear the text box like this
document.getElementById("textbox").innerHTML = "";
It doesn’t work. Why?
I’m not sure why
innerHTMLis working in that particular case but the more appropriate property to use isvalue