javascript thread: Open Read File
Hi, Can you point me in the right direction, I want to open a text file, read in a block of text, assign this to a variable and then document.write this in a .html page. The problem is trying to get the text into a variable. If I just assign it (var text="....";) when the text comes to the end of the first line I just get "unterminated string". How do I go about this? Thanks in advance, Luke
|





