Hi I am trying to create a variable in jquery that contains a table for outputting in different areas of a website. But it is giving me an error, and I do not understand why. He
You could concatenate strings like it was suggested. Or another way is to escape new line characters with back slash:
var html = " \ .... \ ";