How do I connect to another location
<p>How do I connect to another location</p>

<p>I want to download data from an external site</p>

<p>i want to include  it in site my</p>

<p>Used this</p>

<pre><code>&lt;head&gt;
&lt;script&gt;
$(function(){
    $.ajax({
        url: "https://www.google.com.sa" ,
        datatype: "html",
        success : function(){
            $("#abc").append(data);
        }
    });
});
&lt;/script&gt;
&lt;/head&gt;

&lt;body&gt;
&lt;div id='abc'&gt;&lt;/div&gt;    
&lt;/body&gt;
</code></pre>

<p>But did not succeed</p>

<p>I tried this</p>

<pre><code>&lt;script&gt;
$(function(){
    $("#abc").load("http://google.com");
});
&lt;/script&gt;
</code></pre>

<p>But did not succeed</p>

<p>I want to download data from an external site</p>

<p>Correctly ??</p>

<p>But how??</p>
