'JQuery' is undefined

前端 未结 19 1505
生来不讨喜
生来不讨喜 2020-12-28 15:21

I am working on a ASP.net project created with local file system settings. I am using MVC and Jquery. Jquery is working fine when I run the application in debug mode i.e. in

19条回答
  •  -上瘾入骨i
    2020-12-28 16:25

    I solved this problem by uncommenting the jQuery reference in my _Layout.cshtml. After relaunching the site everything just started to work.

提交回复
热议问题