jQuery $.get from local directory producing different behaviour in IE vs FF, Chrome
<p>I have the following simple jQuery:</p>

<pre><code> $.get('Data.csv', function(data) {

    alert(data);

 });
</code></pre>

<p><code>Data.csv</code> is stored in the same folder as the html file which accesses it.</p>

<p>If I run this in all browsers when the url is a domain (i.e. www.mysite.com/path/to/file), then the alert will display a string value of the contents of <code>Data.csv</code>.</p>

<p>If I create a hosts file link to the local folder (i.e. host.mysite.com/path/to/file) then alert will display a string value of the contents of <code>Data.csv</code> in all browsers.</p>

<p>If I run this in IE 9 when the url opens the file locally (i.e c:\path\to\file) then the alert will display a string value of the contents of <code>Data.csv</code>.</p>

<p>However, if I run this in FF or Chrome when the url opens the file locally (i.e file:///c:/path/to/file) then the alert will display <code>[object XMLDocument]</code>.</p>

<p>Does anyone know why this is and how to open the local file as a string in FF and Chrome?</p>

<p>n.b. - I have tested this in order to rule out cross-platform-security issues. I don't think that that is the cause because otherwise it would not assign the content of the csv file at all.</p>

<p>Thanks in advance.</p>
