I am creating some dynamic content, into which I want to add a couple of variables. I have tried escaping the " (see below) and also tried the [ ] (not sure if square brackets can be used as delimiters).
So how to code this? And if the suggestion is to do an evaluate, please provide and example.
Expand|Select|Wrap|Line Numbers
- td.innerHTML = '<a href="#" onclick = "showDetail(\"'+chkForDay+'\",\"'+chkForDay+'\");">show detail</a> '