Why can I set the text in a textbox but I can't clear it?

wmm

New Member
I have this written in a certain Javascript function.\[code\]document.getElementById("textbox").innerHTML = "some text";\[/code\]This does what you'd expect. However, if I slightly modify it to try to clear the text box like this\[code\]document.getElementById("textbox").innerHTML = "";\[/code\]It doesn't work. Why?
 
Top