/ Published in: JavaScript
It will be executed onload
Expand |
Embed | Plain Text
(function showTime() { var d = new Date(); document.getElementById('time').innerHTML = d; setTimeout(showTime, 1000); })();
You need to login to post a comment.
