title: Run a JavaScript function continuously repeating with a time interval
body: <p>This is my first question, and I would appreciate you answering soon.</p>
  
  <p>I would like code to repeat a function continuously...
  I have tried some code but it hasn't worked.</p>
  
  <p>I tried this code:</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  $(function() 
  {
  $('#more').load('exp1.php'); // SERIOUSLY!
  });
  &lt;/script&gt;
  </code></pre>
  
  <p>I want to repeat this function after some interval. I have tried 
  <code>setInterval()</code> and <code>setTimeout()</code></p>
  
  <p>But, I haven't received results.</p>