I have a variable in a resource file (.resx), the value having the word you'd. When I try to use this variable directly in an alert box it displays you'd as you'd. What cou
Solution 1:
Try this:
alert('@System.Web.HttpUtility.JavaScriptStringEncode("Hello, You'd like this.")');
Post a Comment for "Resource File Variable Giving String Ascii Code Issues In Js Alert Box"