Nice, I didnt attach the attachment ^^ --- Flavio Gomes flavio at economisa.com.br Flavio Gomes wrote: > 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 >> >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.evolt.org/pipermail/javascript/attachments/20040524/9125d10d/attachment.htm>