I have a javascript function where I’m embedding html. I have a variable that I’m trying to call a toString method on. However, my page doesn’t like the way I have my quotes I think. This is what I have:
function (item) {
'<h3>' + item.StartDate.ToString("MM/dd/yyyy") + '</h3>'
}
I think that it probably wants to look like:
Also the syntax is
toStringinstead ofToString.Something like that?