title: jQuery animate with setinterval
body: <p>my jQuery Code :</p>
  
  <pre><code>    $(document).ready(function(){
          setinterval(function(){
          $("#animate").animate({'margin-left':'50px'},1000)
          $("#animate").animate({'margin-left':'-50px'},1000)
          },2000); 
  
          });
  </code></pre>
  
  <p>HTML:</p>
  
  <pre><code>&lt;div id="animate"&gt;sdfdsfdsfsdfsdfds&lt;/div&gt;
  </code></pre>
  
  <p>I want to do animation that will go every 5 sec. What wrong ?
  Thanks !</p>