[Javascript] return \n

Diego Chagastelles dchagastelles at gmail.com
Tue Dec 19 11:17:13 CST 2006


I want to get the value of a textarea element. I get the value when the user
press Enter (Return Key). The problem is that when I do this, the textarea
value comes with "\n" in the end. I know its there, how can I strip this
out?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20061219/e32a6946/attachment.htm>


More information about the Javascript mailing list