Help me with setTimeout() please
<p><br />I guess I need help on this one.<br />I'm not new to Javascript but then I realize I don't know how to use <a href="https://developer.mozilla.org/en/window.setTimeout" rel="nofollow">setTimeout()</a>.</p>

<p>I have tried this:</p>

<pre><code>$(document).ready(function(){

  setTimeout('changeit()',1000); // I have also tried setTimeout('changeit',1000);
  // var t = setTimeout('changeit()',1000); &lt;--- tried also something like this.

  // changeit(); &lt;-- works when i do this.

  function changeit(){
    $('#hello').html('Hello World - this was inserted using jQuery');
    // #hello is &lt;p id="hello"&gt;Hello World&lt;/p&gt;
  }
})
</code></pre>

<p>Can anyone help me with this one.<br />Please make me realize something.<br />Thanks.</p>
