title: javascript setInterval not firing
body: <p>I have a long running database update that I want to report on while it is happening.
  I prime the interval time to fire at 
  I have seen lots of examples of problems with setInterval and it looks simple, but I cannot get it to fire with this code. The checkSaveStatus code pulls back a status report that tells how many rows have been saved. I will enhance it once I to display the results once I can get the basic functionality working.</p>
  
  <p>I am beginning to suspect that this may have something to do with the way I am handling the Ajax call.</p>
  
  <pre><code>var checkTimer;
  function checkSaveStatus() {
      var saveStatus = ajaxCall("WebServices/FLSAService.asmx/CheckFLSASaveStatus");
      if (saveStatus == null) {
          clearInterval(checkTimer);
          return;
      }
      log('saveStatus: ' + saveStatus.InputCount + '/' + saveStatus.ResultCount + ':' + saveStatus.SaveComplete, 'FLSA');
      if (saveStatus.SaveComplete) {
          reportSaveComplete = true;
          clearInterval(checkTimer);
      }
  }
  
  checkTimer = window.setInterval(checkSaveStatus, 1000);
  ... make an asynchronous Ajax call that takes a long time to complete
  ... the checkSaveStatus code doesn't fire until the Ajax call completes
  </code></pre>