How to get a string from .resx file to a .js file [closed]
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed last year . I want to show an alert message in two different language. I am using asp.net App_GlobalResources . Can I use it inside my script.js file? 回答1: You can't call directly to resources in a RESX file from a javascript files. However, you could create a partial view (in case you are