I've looked everyone but cannot find a response to my question.
I have 2 things:
- a local html page, which is simple and empty page (only html,body and script tags).
- a local csv file.
The idea is to use pure javascript to read that csv file, so I can do some manipulations, then to show it on that html page.
I'm stuck to read the file, the examples I find tell me how to read file from the server with the ajax or jquery rest call (trying to get a file locally I get corsorigin null error, etc) OR with an input component, where ther user selects a file.
It is all good and well but those approaches do not work for me.
The readerfile expects the file from the input control, which I don't have, I just have a full path to that csv file, basically I'll need to read that every 15 seconds for my functionality.
So any idea, how with pure javascript I can achieve the desired functionality?
Thanks all in adnvace.