Home
Head's Up: I'm in the middle of upgrading my site. Most things are in place, but there are something missing and/or broken including image alt text. Please bear with me while I'm getting things fixed.

Load A Text File Into A Local Web Page/App

This is the basic vanilla JavaScript I'm using to load text files into ASCII _ SHOP. It's a stand alone HTML page. No server is involved. The same goes for this sample.

Plain - Text Example

- This version uses the [TODO: Code shorthand span ] element which produces the button and the name of the file as one unit

- It's also possible to make a stand alone button and wire up the functionality that way which provides for a custom user interface

- Hitting the Back button after uploading the file navigates back to the prior page. I'm going to experiment with removing the contents of the uploaded file instead as a type of reset

Footnotes And References