[Javascript] linebreak in textarea
Flavio Gomes
flavio at economisa.com.br
Mon May 24 09:23:10 CDT 2004
How come?
Never saw it happening.. try my attachment: It worked perfectly here.
(Altought I believe '\r\n' would be more correct)
Paul McGuire wrote:
>My JavaScript is populating a textbox.
>
>myform.textboxfield.value = 'mystring'
>
>I would like a way to auto insert linebreaks into the text box too.
>
>myform.textboxfield.value = 'mystring\n'
>
>just prints
>
>mystring\n
>
>into the text box as does
>
>myform.textboxfield.value = 'mystring' + '\n'
>
>How would I programatically put a sting into a textbox with linebreaks
>inserted?
>
>Paul
>
>_______________________________________________
>Javascript mailing list
>Javascript at LaTech.edu
>https://lists.LaTech.edu/mailman/listinfo/javascript
>
>
--
Flavio Gomes
flavio at economisa.com.br
More information about the Javascript
mailing list