Possible Duplicate:
What's the cleanest way to write a multiline string in JavaScript?
How does one go onto a new line in writing jQuery code not the actual output of the code, for example:
$('#foo').append('<div id="bla"> '+\n+'
</div>');
Something like that.
$('#foo').append('<div id="bla"> \
</div>');
The slash (\) escapes the newline, allowing the string to span multiple lines
精彩评论