title: JQuery.getJSON() reading a local file
body: <p>How do you read a file in the current directory using JQuery.getJSON()?</p>
  
  <p>I'm trying something simple (with my data.json file in the same directory as my html file):</p>
  
  <pre><code>$.getJSON("./data.json")
  </code></pre>
  
  <p>and I get the error:</p>
  
  <blockquote>
    <p>XMLHttpRequest cannot load file:///C:/Projects/test/data.json. Origin null is not allowed by Access-Control-Allow-Origin.</p>
  </blockquote>
  
  <p>I've tried all sorts of combinations of path, but it doesn't seem to work...</p>
  
  <p>EDIT:  I'm using Chrome, but I'd like to work in all browsers...</p>