title: Javascript setTimeout function in window load event... not working
body: <p>I've done this a month before...
  But now its not working...
  The code is</p>
  
  <pre><code>window.onload = function(){
   setTimeout(function(){
     alert("Hello");
   }, 10000);
  };
  </code></pre>
  
  <p>This is written in script in head of the test.php page.
  The script and other tags are correct.</p>
  
  <p>I would like to call a specific function every 10 seconds. The alert just shows once only. This is problem in every browser....
  After this testing i would like to check the url every 2 seconds and call an AJAX function.</p>
  
  <p>Any Help??</p>