title: jQuery Ajax request from local filesystem (Windows file:///)
body: <p>I'm trying to do an ajax request to get the contents of <code>"http://localhost/"</code> running on Windows Wamp Server.</p>
  
  <p>The script is running from something like this:</p>
  
  <p><code>file:///C:/my/path/index.html</code></p>
  
  <p>I'm just using a standard $.ajax request to try and get the contents of localhost:</p>
  
  <pre><code>$.ajax({
            type: 'GET', 
            url: 'http://localhost/',
            success: function(data) {
              alert('success');
            }, error: function (data) {
              alert('failed');
            }
      });
  </code></pre>
  
  <p>I can't get it to be successful though... Seems to be some problem with the local filesystem or something. I'm not too sure.</p>