5 ms·
It should be setInterval(updateClock, 1000) not setInterval(updateClock(), 1000)
by CornishPasty 12y ago
It should be setInterval(updateClock, 1000) not setInterval(updateClock(), 1000)
- csffsc 12y agoThanks! http://jsfiddle.net/BPKdQ/1 http://jsfiddle.net/BPKdQ/1