jQuery ajax call to remote website from local filesystem
<p>Ey!</p>

<p>Ok, i've come to understand that you can use AJAX calls to remote servers if your site is running on the local filesystem (using the file:// protocol). Yet using ajax calls with jquery fails every time.</p>

<pre><code>        $.ajax({
            url: "https://dokus.no/products/",
            username: "user",
            password: "password",
            dataType: "json",
            isLocal: true,
            success: function() {alert("hhohoho");},
            error: function(jq, text, exception) {alert("fail");}
        });
</code></pre>
