Having issues where in my .aspx page I pass in a boolean variable (C#) to a javascript function that is expecting a boolean type.
BUt the C# variable returns True, and j
function toBool(s){ return s==="True"; } var b = toBool("@csharpvariable.ToBoolean()");