yasuru
04-05-2004, 11:16 PM
Does anybody know while getting the values from textarea, how to ignore "enter". Ok, I explain it like this. I have a form which is getting input from users in textfields and textarea. Then I am inserting that data (using ASP) to a text and .JS file so that I can call that data using (javascript) in my HTML. All things goes well but if some user press enter in textarea (for new line), that creates problem while calling the data to Html.
Well, I just want to know that is there any way to ignore "ENTER". Any help wil be appriciated.
Thanks
Herez the code I am using to get the value from TextArea:
<%
session("title")=request.form("title")
message=Trim(Request.Form("message"))
message=Replace(message, vbcrlf, "<BR>" & vbcrlf)
%>
Well, I just want to know that is there any way to ignore "ENTER". Any help wil be appriciated.
Thanks
Herez the code I am using to get the value from TextArea:
<%
session("title")=request.form("title")
message=Trim(Request.Form("message"))
message=Replace(message, vbcrlf, "<BR>" & vbcrlf)
%>