Solved - Re: Javascript / AJAX / Textarea problem

2015-05-14 Thread Gary Stainburn
Thanks for the help. The problem was that I had added white-space: nowrap; to the style to try to prevent word-wrap. Instead I should have added wrap=off to the textarea object On Thursday 14 May 2015 11:35:38 Gary Stainburn wrote: > I've simplified this to: > > form.config.value="mary\r\nha

Re: Javascript / AJAX / Textarea problem

2015-05-14 Thread Gary Stainburn
I've simplified this to: form.config.value="mary\r\nhad\r\na\r\nlittle\r\nlamb"; form.config.value="mary\nhad\na\nlittle\nlamb"; form.config.value="maryhadalittlelamb"; The form is: as suggested all over the place, but in all cases, the text still appears on one line On Thursday 14 Ma

Javascript / AJAX / Textarea problem

2015-05-14 Thread Gary Stainburn
Hi folks, At some point the following code stopped working properly, but I don't know when. Now when I try it, both on Firefox and IE all of the text appears on the first line. I've checked the source text and it has newline characters (I've also changed them to CRLF which made no change). Wh