I am trying to create a members badge draw for a club.
I have 1000+ records in "members.csv" containing "memNumber, lastName, firstName" and "expiryDate".
I can manually load the "members.csv" file using the <input>
method in "index.html" then with "script.js" turn the data into an array and retrieve a random members details.
This will only be run locally on one PC using a "Task Scheduler" and won't be published online.
My "index.html", "script.js" and "members.csv" files are all in the same folder.
How can I load "members.csv" automatically on page-load rather than using the <input>
method ?
Any help would be appreciated. Cheers, Vince.