Set the Resource String in javascript

How can I set the resource string in javascript? I have a resource file called, for example, myResourceFile.resx in my code and using the literal control I can use: lblName.Text = Resources.myResourceFile.ajaxRetrievingInformation; but if I try this in javascript, like: or I get errors... Does anyone know how to manage this? **Something like**: var strLoadingText = Resources.GetString(myResourceFile, ajaxRetrievingInformation); Thanks

以上就是Set the Resource String in javascript的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » JavaScript 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准