How can I use JavaScript to read a local file when the html is local
<p>I would like to be able to read a file that is stored in the same directory as the html file.  When the html file is accessed by http, there is no problem; I can just use a HttpXMLRequest. However when the HTML is being read off the local disk (as with File/Open in most desktop  browsers, it seems HttpXMLRequest does not work.  I used to do this with a Java Applet, but (a) I've noticed that doesn't work with some browsers and (b) I'd like a solution that uses just JavaScript: no Java and no Flash.</p>
