View Full Version : Open Files

Alan Fox
07-09-2002, 09:42 AM
Hello all
Im new to javascript. I have a text file and I want to open it and store whats in that line by line into a variable.

I tried some stuff like

filename = "file.txt"
result = filename.open ("r")

but im not sure what im doing

Please help
Thanks a million

07-09-2002, 12:58 PM
You can't really read/edit files with javascript,but you can import XML documents:

Alan Fox
07-09-2002, 01:07 PM
Thank you both for your help

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum