Possible Duplicate:
Circumventing Chrome Access-control-allow-origin on the local file system?
My question is very straight forward, I am using $.ajax function to read a CSV file and the code is working on FF and IE9 but not in Chrome....
<!DOCTYPE html>
<html lang="en">
<head>
<script src="http://code.jquery.com/jquery-1.8.2.min.js">
</script>
<script type="text/javascript">
$(document).ready(function () {
$.ajax({
type: "GET",
url: "autorating.csv",
contentType: "text/csv",
success: function(data) {alert('asdsa');}
});
});
</script>
<title>Untitled Document</title>
</head>
<body>
</body>
</html>
Any help will be appreciable... Thanks