Loading a file from the browser, without a web server

Posted by cloudhead on Stack Overflow See other posts from Stack Overflow or by cloudhead
Published on 2010-04-25T16:41:12Z Indexed on 2010/04/25 16:43 UTC
Read the original article Hit count: 197

Filed under:
|
|
|
|

So I need to load a file from disk somehow, and access its contents.. Sort of like how

<link rel="stylesheet">

works. Is there a way to do this? XHR requires a web server.. and using something like the above doesn't let me access the contents of the file..

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about browser