Hi
I'm making a script that allows you to make changes to a web site from a online form. The form writes strings to a txt file, and javascript is used to write it to the html document.
If i write HELLO in the form, the txt file will look like this:
dokument.write('HELLO');
The problem is that if there is a line change in the form, it will look something like this:
In form:
HELLO
HI
In file:
dokument.write('HELLO
HI');
Javascript does not understand
dokument.write('HELLO
HI');
It has to be in one line
( dokument.write('HELLO HI'); )
It there a way to solve this problem?