Is \\n the universal newline character sequence in Javascript for all platforms? If not, how do I determine the character for the current environment?
\\n
I
Don't use "\n". Just try this:
var string = "this\ is a multi\ line\ string";
Just enter a back-slash and keep on truckin'! Works like a charm.