Reset setTimeout every button click?
<p>Here is My Code</p>

<blockquote>
  <p>var sec = 10 var timer = setInterval(function() {<br>
  $('#timer span').text(sec--); 
  }, 1000);</p>
</blockquote>

<p>it setTimeout for 10seconds and if I click reset button will setTimeout again with 10seconds</p>
