title: How to retrieve a json from JavaScript
body: <p>I am trying to write a HTML5 mobile application and use jQuery to get a json from the url 
  <a href="http://cin.ufpe.br/~rvcam/favours.json" rel="nofollow">http://cin.ufpe.br/~rvcam/favours.json</a> I tried using </p>
  
  <pre><code>var url='http://cin.ufpe.br/~rvcam/favours.json';
  $.getJSON(url, function(data, status)
      {
          console.log(data);
          console.log(status);
      });
  </code></pre>
  
  <p>but nothing shows up on the console. I don't see what I am doing wrong.</p>
  
  <p><strong>[EDIT]</strong> I learned from another post that I can't normally retrieve information from another server. But this server in particular (cin.ufpe.br/~rvcam) is mine. Can I use PHP or some other method to allow my application to retrieve the data?</p>