title: Javascript: Call function after 10 seconds, then each 1 minute
body: <p>I have the following scenario:</p>
  
  <p>I have a javascript ajax function <code>loadCars()</code> that needs to be called after the page loads in 10 seconds, and then every 60 seconds.</p>
  
  <p>The below is what I have tried so far:</p>
  
  <pre><code>setTimeout(function(){setInterval(function(){loadCars()}, 60000)}, 10000);
  </code></pre>
  
  <p>What is happening is that the function is being called after 10 seconds but never again, what am I missing?</p>