I hate JavaScript
This commit is contained in:
parent
a487db63a7
commit
998010968d
@ -20,7 +20,7 @@ p { text-align: center; }
|
||||
<SCRIPT TYPE="application/javascript">
|
||||
window.onload = window.initializesheets;
|
||||
function time(){
|
||||
document.getElementByID("time").innerHTML = (Date.now() / 1000).toString() + "<BR />" + Date().toString();
|
||||
document.getElementById("time").innerHTML = (Date.now() / 1000).toString() + "<BR />" + Date().toString();
|
||||
}
|
||||
var interval = window.setInterval(time, 1000); /* every second */
|
||||
</SCRIPT>
|
||||
|
Loading…
Reference in New Issue
Block a user