jQuery set initial speed of fadein
<p>I want this div to load instantly on page load (or thereabouts) and then automatically refresh every 10 seconds. 
This is what I have, which refreshes every 10 seconds but doesn’t load instantly.</p>

<p>Can I set the initial refresh to say 100ms and then after that refresh every 10 seconds?</p>

<pre><code>&lt;script type="text/javascript"&gt;
  var auto_refresh = setInterval(
    function ()
    {
      $('#now-playing').load('now-playing-info.php').fadeIn("fast");
    }
  , 10000); // refresh every 10000 milliseconds
&lt;/script&gt;
</code></pre>
