title: Read and display the text file contents upon click of button using Javascript
body: <p>On click of a button called <kbd>result</kbd>, I want to read and display a text file (which is present in my local drive location say: <strong>C:\test.txt</strong>) using Javascript function and display the  test.txt file contents in a  HTML text area.</p>
  <p>I am new to Javascript,can anyone suggest the code for Javascript function to read and display the contents of .txt file?</p>