title: Stop / start a function replying itself
body: <p>I have this code:</p>
  
  <pre><code>function functionName(){
      // blablabla
      // dosomething
      setTimeout(functionName, 5000);
  }
  </code></pre>
  
  <p>Well i want to make it if a user presses a button that the function stops replying itself...
  So that the code becomes</p>
  
  <pre><code>function functionName(){
      // blablabla
      // dosomething
  
  }
  </code></pre>
  
  <p>and when he presses a button again that it starts again...  </p>
  
  <pre><code>function functionName(){
      // blablabla
      // dosomething
      setTimeout(functionName, 5000);
  }
  </code></pre>
  
  <p>How can i do that (with jquery) ?</p>
  
  <p>Greetings</p>