Why doesn't innerHtml
work?
<script src="jquery.js"></script>
<script type="text/javascript">
function chat()
{
alert ("started!");
document.getElementById("test").innerHtml="foo";
}
</script>
<body id="body" onload="chat();">
<p id="test">
test..
</p>
</body>
"started!" is showing, but the content of <p>
doesn't get changed to foo
as intended. Why?