eng
competition

Text Practice Mode

JS: Timer function

created Sep 4th 2014, 14:07 by Christian Strang


1


Rating

20 words
63 completed
00:00
var myVar = setInterval( function() { myTimer() }, 1000);  
  
function myTimer() {  
    var d = new Date();  
    var t = d.toLocaleTimeString();  
    document.getElementById( "demo" )[removed] = t;  
}  

saving score / loading statistics ...