Hi Nixal.
What I have done in the past is build the string over multiple lines using the "+=" to append each line to the string. It worked well for me.
Kind Regards,
Cristin
var chartHTML = "<html><head>"; chartHTML += "<script type=\"text/javascript\" src=\"https://www.gstatic.com/charts/loader.js\"></script>"; chartHTML += "<script type=\"text/javascript\">"; (and so on...)
You can also do something like this.
var tableHTML = "<html> <some code>"+
"<some other code>"+
"</html>";
Add comment