Failed to execute 'send' on 'XMLHttpRequest' Syncronous
<p>I'm trying to connect to google with a simple get request through JS and it seems to always be giving me the same error.</p>

<p>"Failed to execute 'send' on 'XMLHttpRequest': Failed to load '<a href="http://google.com" rel="nofollow">http://google.com</a>'."</p>

<p>Any clue why this would be happening? Relevant code is below.</p>

<pre><code>        var xmlHttp = new XMLHttpRequest();
        xmlHttp.open("GET", "http://google.com", false);
        try {
            xmlHttp.send();
        } catch (err) {
            alert("EXCEPTION: " + err.message);
        }
        alert("here's the result of the get: " + xmlHttp.responseText);
</code></pre>