Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting a carriage return into a <textarea>

Status
Not open for further replies.

slaroche

MIS
Jan 12, 1999
7
US
Hi,<br>
<br>
I'm trying to figure out how to get the following when I write the value of the textarea using document.write's.<br>
<br>
&lt;textarea rows="20" name="Notification" cols="74"&gt;<br>
Hello there,<br>
<br>
I'm trying to make a nicely<br>
formatted string of text in a <br>
textarea form field. How does<br>
one make the carriage returns<br>
using Javascript document.<br>
write's?<br>
<br>
2nd paragraph goes here after<br>
space etc...<br>
&lt;/textarea&gt;<br>
<br>
Does anyone know of a code that can be <br>
output that tells the browser to <br>
carriage return in a textarea; put another<br>
way. <br>

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top