I am developing a small application which will search through local CSV file and display the result. This app will be distributed in CDs and is supposed to run from the CD only. To parse CSV file, I am using http://www.papaparse.com . But my problem is As I am trying to access a local file, browsers (basically IE, Firefox, and Chrome) don't allow to access local files via file:///.. I am looking for a solution. Is there any solution for it through Jquery code or something..? I am very new to Jquery ans still not very comfortable with it. My small piece of code is:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">
<title>Search</title>
<script type="text/javascript" src="jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="jquery.parse.js"></script>
<script>
$.get("org1.csv", function(text) {
var data = $.parse(text);
console.log(data);
});
</script>
</head>
<body>
<span id="content"></span>
</body>
</html>
Any help would be appreciated!