How would one get resx resource strings into javascript code stored in a .js file?
If your javascript is in a script block in the markup, you can use this syntax:>
whereas "Common" is the name of the resource file and Msg1 is the fieldname. This also works for culture changes.
Partial Javascript...: messages: { <%=txtRequiredField.UniqueID %>:{ required: "<%=Resources.Common.Msg1 %>", maxlength: "Only 50 character allowed in required field." } }