title: Can I disable element from changing css style for a while?
body: <p>I've got a div#element that I'm changing css style in interval using jquery.</p>
  
  <pre><code>var i = 0;
  
  function changeStyle() {
  
      $("#element").css("left",i+1);
  
  }
  
  setInterval("changeStyle()",500);
  </code></pre>
  
  <p>How do I stop element from changing the style for a while? Is there something like <code>$("#element").stop();</code> function that enables me to disable element from changing anything on it?</p>
  
  <p>I don't want any other solution for this problem, I just want to know if there's anything like stop() function.</p>