title: jQuery ajax, get html cross domain
body: <p>I have a webpage where I am trying to use an ajax call to place some html content from another webpage inside. However I am struggling with the cross domain issues.</p>
  
  <pre><code>$('.trigger').click(function(e) {
      e.preventDefault();
      $.ajax({
          url: 'http://myothersite.com',
          datatype: 'text/html',
          type: 'GET',
          success: function(data) {
              var content = data.responseText;
              console.log(content);
          }
      });
  });
  </code></pre>
  
  <p>Would anyone be able to advise how I would go about achieving this?</p>
  
  <p>Thanks,</p>