why doesn't innerhtml work javascript code example Example: innerhtml doesn't work document.getElementById("test").innerHTML="foo";