Send to a Friend

Perchik's avatar

How can I open a text file in javascript?

Asked by Perchik (4992points) February 19th, 2008

I’m new to javascript and I’m trying to open a text file. Basically I have a list of names in a text file and want to build an array from the file. I can come up with code once I actually open the file, but I cannot for the life of me find information online about opening files. Everything I google turns up results about how to load files on demand, right now this is not an issue. Any advice on how to do this, or where to go for more information?

Using Fluther

or

Using Email

Separate multiple emails with commas.
We’ll only use these emails for this message.