title: Jquery .ajax() local testing
body: <p>I've got a little .ajax function which trying to load some content after document is ready.</p>
  
  <pre><code>$(document).ready(function(){
  $.ajax({
          url: 'php/accounts-blocks.php',
          cache: false,
          beforeSend: function() { $('#accounts-blocks').html('Please wait...'); },
          success: function(html) { $('#accounts-blocks').html(html); }
          });
  });
  </code></pre>
  
  <p>However, when I'm trying to test this page locally (just on my PC), ajax shows up only "Please wait" message like forever, and doesn't load any content. Should I install local hosting or something like that in order to test AJAX functionality, or is it something wrong with script?</p>