I have inherited asp.net code in which javascript is in the <head> section of a aspx page. I am getting the error at
var javascriptVar = '<% csharpClass = new CSharpClass(); connStr= csharpClass.GetValue();Response.Write(connStr);%>';
How can I resolve this error?
...
Go to the complete details ...