I need to pass a large string from PHP into Jscript var,
but the following isn't accepted:

text = 'a very large string for a text box which comes with line breaks
an so takes many lines '

this produces the (unterminated string constant)

any idea?