title: Jquery ajax cross site
body: <p>I have a ajax call from a remote site, when i test this on same site it works, when I call it from remote site, I get 200 OK but empty response.</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  function getPage(storename,entries,page) {
      $('#output').html('&lt;div class="centriraj"&gt;&lt;span&gt;Loading...&lt;/span&gt;&lt;img id="loader" src="LoaderIcon.gif" /&gt;&lt;/div&gt;');
      jQuery.ajax({
          url: "http://jebajiga.byethost32.com/pager.php",
          crossOrigin: true,
          data:'page='+page+'&amp;entries='+entries+'&amp;storename='+storename,
         dataType: "html",
          type: "POST",
          success:function(data){$('#output').html(data);}
  
      });
  }
  getPage('cvsstarshop1991',30,1);
  &lt;/script&gt;
  &lt;script type="text/javascript"&gt;
  function getListCategories(storename) {
  
      jQuery.ajax({
          url: "http://jebajiga.byethost32.com/categories.php",
          crossOrigin: true,
          data:'storename='+storename,
         dataType: "html",
          type: "POST",
          success:function(data){$('#output2').html(data);}
  
      });
  }
  getListCategories('cvsstarshop1991');
  &lt;/script&gt;
  </code></pre>