How do I load a text file?
Is it possible to load a text file (already on my server) into an array?
The text file simply is a list of Holiday dates.
I don't want to hardcode the dates into the .js file as it will need to be updated every few years.
So what I'd like to do is to load the list of dates from the text file ONCE when the user displays the webpage initially into an array in order to have the code work on those dates.
Can do?
Thanks.