tonyeveland
12-05-2002, 06:09 AM
I have a textarea with .... name=address...
Then in a function I have:
var Response = '';
Response = document.forms(0).address.value;
I enter into the textarea:
123 Elm St.
Anytown, Usa
But the Response variable contains:
123 Elm St.Anytown, Usa
My line breaks are gone. Can I get them to stay in the text?
Tony
Then in a function I have:
var Response = '';
Response = document.forms(0).address.value;
I enter into the textarea:
123 Elm St.
Anytown, Usa
But the Response variable contains:
123 Elm St.Anytown, Usa
My line breaks are gone. Can I get them to stay in the text?
Tony