title: Receiving "Access Denied" when calling WCF from jQuery
body: <p>I've tried numerous ways to get jQuery to call a WCF service without an error, but with no luck. My WCF service is in a subdomain of the main site. I've tried adding the following before my ajax call:</p>
  
  <pre><code>jQuery.support.cors = true;
  </code></pre>
  
  <p>But I receive an '<em>Access Denied</em>' message. If I comment that out and use:</p>
  
  <pre><code>document.domain = "mylightdisplay.com";
  </code></pre>
  
  <p>I receive a '<em>No Transport</em>' message.</p>
  
  <p>Anyone ever come across this and have a solution for circumventing these exceptions? It works when I have the main site local using localhost and I'm trying to connect to the web services on the remote server. When testing this scenario, I'm using Web Matrix.</p>
  
  <p>Here's a code snippet as requested below:</p>
  
  <pre><code>function populateData() {
      $.support.cors = true;
      $.ajax({
          type: "GET",
          url: "http://mydomain.com/myservice.svc/GetInfo",
          dataType: "json",
          success: function(msg) {
              ...
          },
          error: function (msg) {
              ...
          }
      });
  }
  </code></pre>