Text Area Formatting

When you Response.Write to the browser the browser does not understand carriage returns. Use the following to solve this problem:

Response.Write(Replace(body, vbCrLf,"<br>"))

This replaces the carriage return with the html <br> tag.

format asp textarea carriage returns

Back To Top
© 1998 - 2021 psacake.com | My3C's

Version 7.2 | Advertise on this site