Why innerHtml doesn't work
Casing matters, it's innerHTML
not innerHtml
. Try this:
document.getElementById("test").innerHTML="foo";
Casing matters, it's innerHTML
not innerHtml
. Try this:
document.getElementById("test").innerHTML="foo";