I have a razor code which is using resorces from resources.resx. When i use it in a function (java script), it shows error as "unterminated string literal". How do I use resources in my java script code? However in html part of my code it is able to get the actual value if @mynamespace.name

function check(arg)
var name = "@mynamespace.name";

Related posts

Recent Viewed