Javascript - break one line of code

I have code similar to below (long line with inline html) in javascript and I need to break to next line. How can I achieve this ?

> footerTemplate: "<div>Min: #= min #</div><div>Max: #= max #</div>"

Normally div or p are used to break to a new line.

If you want to break the JavaScript string, you can separate strings with a plus symbol.

footerTemplate: "<div>Min: #= min #</div>" +
                "<div>Max: #= max #</div>"

Thank you for you response. I will try with plus symbol. But in my case it is in single quotes.Forgot to mention in the above code.So actually I have code similar to this

> footerTemplate: '<div>Min: #= min #</div><div>Max: #= max #</div>'

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.