How (In javascript, Jquery, or Ajax & such) can I load a local text file or xml file into a variable?
问题 First, I know <input type="file" value="c:\\blah.txt"> won't work. I have tried Ajax, and other things, but Google has security, so I can't. How could I possibly load a local file in JavaScript (Not PHP)? No, i'm not trying to steal people's data. Or, if none of this will work, is it possible to pass data from a command prompt to a HTML/JavaScript file/page without a complicated server setup? (The command prompt reads the file, and gives it to the HTML). What I am not trying to do: <script