I need to put this string in a variable:
chart cid="20"
but when I escape: \"
this way:
AddSettings = AddSettings + "chart cid=\"0\"";
I still get a javascript error and the sentence shows up in the browser insted of get into the AddSetting
variable.
I also tried this way:
AddSettings = AddSettings + 'chart cid="0"';
And the same thing happens.