title: Cross domain ajax json
body: <p>I'm on site.com trying to grab some json data from my node.js server serving on port 8080.</p>
  
  <p>I get this Error message:</p>
  
  <pre><code>XMLHttpRequest cannot load http://site.com:8080/json/1. Origin http://site.com is not allowed by Access-Control-Allow-Origin.
  </code></pre>
  
  <p>my code:</p>
  
  <pre><code>    $.get('http://site.com:8080/1/', {}, function (Data) {
         console.log(Data);
      }, "json");
  </code></pre>
  
  <p>But it is the same domain though! :(</p>
  
  <p>Also consider my backbone.js model:</p>
  
  <pre><code>model = Backbone.Model.extend({
      url: function() {
          return 'http://site.com:8080/' + this.id
      }
  });
  </code></pre>
  
  <p>Is there any way to resolve this other than using jsonp?</p>
  
  <p>Thanks.</p>