string js = "eval(\"var someVar = 'someValue'\");";
So I end up with a string in the browser as
eval(\"var someVar = 'someValue'\");
The problem is the "\" that is escaping the " in front of 'someVar'. It gets put in automatically in C#. That makes the string invalid when trying to execute the actual function in a browser. Any ideas how I might go about solving this?