title: stop ajax jquery load on submit
body: <p>I have a jquery ex like this..</p>
  
  <pre><code>jQuery(document).ready(function() {
     var refreshId = setInterval(function() {
        jQuery("#results").load('random.php?randval='+ Math.random()+'&amp;hours='+jQuery('#hours').val()+'&amp;mins='+jQuery('#mins').val()+'&amp;seconds='+jQuery('#seconds').val());
        jQuery("#time_spent").val(jQuery("#results").html());
     }, 1000);
  });
  </code></pre>
  
  <p>and a submit button like this</p>
  
  <pre><code>&lt;input type="submit" name="submit" value="Stop" id="submit" /&gt;
  </code></pre>
  
  <p>Now if the submit button is clicked the ajax jquery load should be stopped atonce since the time interval is 1 second.</p>
  
  <p>How to do . please help
  thanks
  Haan</p>