how do I read a server side csv file on the load of my webpage. Here is the code that I am currently using, that runs on load of the webpage:
$.ajax({
type: "GET",
url: "titles.csv",
dataType: "text",
success: function(data) {
processData(data);
}
});
This code doesn't work giving me an error in the console of "No 'Access-Control-Allow-Origin' header is present on the requested resource." This doesn't make sense because the file is literally a local file to the server. I would appreciate some help. Thanks a bunch!