When saving '\ n \ r' inside a string constant, the Javascript engine throws an error, for example, "unterminated string", etc.
How to solve this?
Additional info: I mainly want to use Javascript to select text in the HTML TEXTAREA field and insert new lines. When I try to populate these constants, I get an error.
source
share