title: How to stop setInterval();?
body: <p>I have like...</p>
  
  <pre><code>&lt;div id="div"&gt;&lt;/div&gt;
  &lt;script src="jquery.js"&gt;&lt;/script&gt;
  &lt;script src="updater.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>The updater I want to get data from my .php file, so probably something like...</p>
  
  <pre><code>setInterval(function() {
      $.ajax({
          type: "GET",
          url: "test.php",
          success: function(html) {
               // html is a string of all output of the server script.
              $("#div").html(html);
         }
      });
  }, 5000);
  </code></pre>
  
  <p>Then, obviously enough the test.php's page will result.</p>
  
  <p>But, I want to STOP the setInterval(); WHEN someone clicks on a comment button (textarea). I'm aware, there's some on here; but they're not working?</p>