Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: Open Read File


Message #1 by Luke Chapman <luke@p...> on Mon, 19 Feb 2001 12:01:23 +0000
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


  Return to Index