A JavaScript script on this page attempts to read the contents of a text file named "Test.txt" into a string, and then displays that string in the web browser. To see the source code, visit http://thiscouldbebetter.wordpress.com/2013/01/31/reading-a-string-from-a-file-in-javascript/.

If the script is working you should see the contents of the file "Test.txt" below.