title: How can I read a text file using Javascript?
body: <p>How can I read a <code>.txt</code> file in Javascript? I have a folder name and need to load the file present in the folder (there is only one). For example, if I have a folder called <code>folder1</code> it contains 3 same txt files with different name and other files also present in that folder1 I need to read only one txt file any one.</p>