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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With