Possible Duplicate:
How to create multiline strings
I have a lot of strings that I want to put in variables, but there is line breaks that aren’t accepted.
Firefox says “Unterminated string literal” when I write :
var a="foo
bar";
Is there a way to write my strings without removing the line breaks manually?
If this is not acceptable:
Or as @minitech (the new mod) suggested:
Then the answer is no.