Posted by tony wong on 10/10/06 13:24
Thanks to all guys
"jojo" <jojo.hafner@gmx.de> ΌΆΌg©σΆl₯σ·s»D:ege98p$dbg$1@registered.motzarella.org...
> 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]
|