Want to read the file content from JavaScript? It's easy to do with the help of a tiny applet filreader.class. You can see this applet in action below. Content of the textarea was set by calling the applet method from Java Script function.
Example: Filereader displays HTML Source of this document: