I'd like to create a page, which uses a local file in JavaScript. I don't need to upload it to the server really and I definitely don't want the page to reload completely.
What are the available options to solve it?
The best I could come up with so far, is to (not perfect, but should work):
execute a POST from iframe
retrieve the file via AJAX from the main page