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 - 2024 psacake.com
Version 7.21 | Advertise on this site