title: Jquery reset setInterval time
body: <p>I have a slide show use <code>setInterval</code> 5sec, each slide should stop 5 sec.</p>
  
  <p>When user click previous button, slide will go back previous image.</p>
  
  <p>My problem is when user click previous, time still counting.
  (previous image only stop 3sec not 5sec)</p>
  
  <p>Is any way to reset time when user click?</p>
  
  <pre><code>setInterval(function(){
    //start slide...
  },5000);
  
  
  $('#previous').click(function(){
      //go back to previous slide and reset time
  });
  </code></pre>