title: Calling a function inside itself using setTimeout
body: <p>I want to call a function within itself like this:</p>
  <pre><code>$(document).ready ( 
  
      function ready() {
          var tester = $.ajax({
                  async: false,
                  url: &quot;test_parse.php&quot;
              }).responseText;
          document.getElementById('test').innerHTML = tester;
          setTimeout(ready(), 3000); 
     }
      
  );
  </code></pre>
  <p>But every time I do this my browser just keeps loading and eventually Apache shuts down (obviously not my expected result). Could you help me to figure out a solution?</p>