Possible Duplicate:
How to save user-entered line breaks from a TEXTAREA to a database?
Am I missing some simple solution here - I am creating a form with a text input. I want this to be submitted WITH any linebreaks. The user actually writes in a textarea, which javascript/jquery copies to the hidden text input before submitting.
I have seen solutions where javascript replaces /n, etc. with some known break-character. Is this the only way to go? Then I have to translate it back again serverside. I would really like for /n to be submitted as /n.