Mine
public javascript v1 · immutable <input type="text" size="20" id="lala" /> <script language=javascript> var timer = 60; function countDownOne(option) { if(option=='pause'){ clearTimeout(t); } else{ timer--; document.getElementById('lala').innerTEXT = timer; var t=setTimeout("countDownOne('')", 1000) } } countDownOne(''); </script> <button onclick="countDownOne('pause');">Pause</button>