Can anyone tell me
why this code for displaying
document.getElementById("ibody").innerHTML=...
is not working?
<script type="text/javascript">
var v=new Date();
document.write("Avec document.write() = "+v);
window.alert("Avec window.alert() = "+v);
alert("Avec alert() = "+v);
console.log("Avec console.log = "+v);
document.getElementById("ibody").innerHTML=
"Avec getElementById() ds DIV = "+v
</script>
<body id="ibody"></body>