|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
How do I add a <BR> in a <textarea>?
I have a text area in a where user input comments that updates a recordset(Comments) in my Access Database field name (Comments). I want to be able to add a line break everytime a new comment is added. How is this done? I have tried the code below with no success. Response.write Replace(rs("Comments"), vbcrlf, "<br />") |
|
#2
|
|||
|
|||
|
So you **WANT** to see the < BR > tag inside the :
<textarea><%=rs("Comments")%></textarea> Is that correct ? ---------OR----------- You **DON'T WANT** to see the < BR > tag inside the : <textarea><%=rs("Comments")%></textarea> How is the data entered IN THE FIRST PLACE ? DOES or DOESN't have the < BR > tag when you simply make a Response.write of rs("Comments") ? Vlince |
|
#3
|
|||
|
|||
|
I want the Comments textarea to show a line break when the user goes back to view there comments.
The data is entered from a textarea that updates to a field in my table named comments. The user clicks a submit button to update the comments table. |
|
#4
|
|||
|
|||
|
judging by your Replace the Comments field has carriage returns in it? in that case it should the carriage returns inside the text box. there is no need to replace them with <br>. that will just get seen as <br>.
__________________
Programmer's Corner |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ASP Programming > How do I add a <BR> in a <textarea>? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|