> I'm not sure why the Ajax form post would strip out chr(13) before > posting.
It's not "stripping" it, it's just not there in the internal
representation of the textarea. So when you manually serialize the
textarea, you don't get anything special. When the browser uses its
native form support, it serializes with CRLF for the wire.
Good post on it:
http://www.craigwardman.com/blog/2009/02/textbox-crlf-in-firefox-using-ajax.html
-- S.
