title: Access-Control-Allow-Origin when calling WCF REST Service from jQuery and JSON
body: <p>I have the following code.</p>
  
  <p><strong>WCF REST method</strong></p>
  
  <pre><code>    [WebInvoke(Method = "GET",
          ResponseFormat = WebMessageFormat.Json,
          BodyStyle = WebMessageBodyStyle.Wrapped,
          UriTemplate = "Account")]
      [OperationContract]
      string GetUniqueLoginId();
  </code></pre>
  
  <p><strong>Client Side Call</strong></p>
  
  <pre><code>$.ajax({
      type: "GET",
      url: serviceURL + 'Account',
      contentType: 'application/json; charset=utf-8',
      dataType: "json",
      success: app.onGetUniqueId,
      error: app.onAjaxError
   });
  </code></pre>
  
  <p>When I use IE (11), it works perfectly by returning a unique id. But when I use chrome, it gives me the following error.</p>
  
  <pre><code>No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin   'http://localhost:5553' is therefore not allowed access.
  </code></pre>
  
  <p>How to resolve the issue? Any help would be appreciated.</p>