Click to See Complete Forum and Search --> : <br> in textarea


micmic2
07-05-2003, 03:18 PM
when i use textarea:
<textarea name="mes" rows=10 cols=40></textarea>
<%mes=Request.Form("mes")%>
<%=mes%>
it doesn't recognise a broken line:
1
2
I have to write
1<br>2
is there a way to make it recognise a broken line?

A1ien51
07-06-2003, 12:56 AM
you need to use a new line feed when it is inside a text area

line line feed = \n

A1ien51
07-06-2003, 11:38 AM
Dave, it sounded like he had it hard coded already, that is why I said that answer.

micmic2
07-06-2003, 03:03 PM
thanks,
I run a search with the key words you gave me and found
a code that does what i want
here is a link (http://www.experts-exchange.com/CXO/Web/Web_Languages/ASP/Q_20387085.html)


*
"<center>"
*