javascript - String that contains line breaks -
possible duplicate:
how create multiline strings
i have lot of strings want put in variables, there line breaks aren't accepted.
firefox says "unterminated string literal" when write :
var a="foo bar"; is there way write strings without removing line breaks manually?
if not acceptable:
var a="foo" + "bar"; or @minitech (the new mod) suggested:
var a="foo \ bar"; then answer no.
Comments
Post a Comment