Hey, I have a textarea that i am writing to using Javascript. I need to know how to insert an enter character into the string. I tried \n but that didn't work. Please help!
Use & #13; (Carriage return) or & #10; (Line feed) in your text. But don't code the space between & and # because.
If I do that in this post than the character will be displaced instead of the code. So code &#...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.