I've been searching on the Internet to find a way to read local text file in JavaScript automatically.
However, I only found that most of the way is to creating an input type="file" and choose the text file manually from the computer.
Since I want to read a number of data from a local text file(.txt) automatically whenever I reload the website, so that I could perform some searching of data in my website.
Is that any way that I can read local txt file automatically with JavaScript?