| 
 Posted by jojo on 10/09/06 19:51 
RvT wrote: 
 
>> the input is captured in <textarea> 
>> there are line breaks. 
>> how to display line breaks when using response.write?  Thanks a lot. 
>> 
>> tony 
>  
> A line break is represented by chr(13), so you have to replace chr(13) 
> by a <BR />. 
>  
 
You could also put the whole text into a <pre> (unless is's a complete  
html-document with <head> and <body> or the input includes any tags  
which aren't allowed in a <pre>). Would perhaps be more easy than  
replacing all line breaks... 
HTH, jojo
 
  
Navigation:
[Reply to this message] 
 |