title: How to read local csv file in client side javascript?
body: <p>I have client side javascript that I want to read from a local <code>csv</code> file. In the html code, I import a local javascript file using a script tag and this js file is in another folder.</p>
  
  <p>The contents of the js file</p>
  
  <pre><code>$.ajax({
      type: "GET",
      url: "./../../data/English.csv",
      dataType: "text",
      success: function(data) {
          alert("worked");
      },
      error: function (request, status, error) {
          alert(request.responseText);
      }
   });
  </code></pre>
  
  <p>The path to the csv file is relative to the html file. However the error function is triggered. Is there a way to fix this?</p>
  
  <p>Thanks</p>