title: getjson alternative method for variable
body: <p>I made a script which gets the data from a json file and parse it. It worked on a webserver.</p>
  
  <p>But now I have to find a solution to get it work on a local file (<code>file:///C:/xampp/htdocs/script/index.html</code>) instead on a server. It only works in FF:</p>
  
  <pre><code>$.getJSON('data2.json', function(data) {   
      $.each(data.selection_form.entities, function(i,name){
          ...do something
       });
  });
  </code></pre>
  
  <p>Any ideas? A local webserver is not a solution.</p>