what I learn is what u c

Linebreaks in TEXTAREA using ASP

leave a comment »


[textarea name=”txt” cols=”50″ rows=”5″ class=”content”][%=Replace(request.QueryString(“editaddr”),”\n”,vbcrlf)%][/textarea]


Used for displaying (replace vbcrlf with [br] tag)


can be used for editing (replace vbcrlf with \n)

[input type=”hidden” name=”hidAnswers” value=”[%=Replace(Request.form(“txt28″),vbcrlf,”\n”)%]”]

this \n is changed back to vbcrlf in page1.asp

all angle brackets (


Written by gchandra

October 18, 2004 at 3:02 pm

Posted in Web Coding

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: