How do I escape my javascript so I can perform the following?
This is an example:
It's not outputting 'Month1', 'Month2' etc. and instead it is actually outputting 'Month@i'.
@for (int i = 0; i < 12; i++)
{
<text>
{
field: 'Month@i',
title: ,
width: 10
},
</text>
}
Thanks.