How to get a line feed into a textarea
Posted on 2005-04-15
I am using a web application I have little control over. Using a web interface, I build a page by filling in a number of standard one-line input fields. One of these fields will ultimately be displayed in a future page as a textarea object. I will not be able to have any control such as searching and replacing text in a field as some other solutions recommend. I need to be able to input something into this input field that when displayed as a textarea object will act as a line feed. I have tried entering the <BR> tag, but it just gets displayed in the textarea box rather than actually dropping down to the next line.
Seems like a long shot since my hands are somewhat tied, but I thought I would give it a shot.