'JQuery' is undefined

前端 未结 19 1551
生来不讨喜
生来不讨喜 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条回答
  •  星月不相逢
    2020-12-28 16:12

    You could also try letting Google host jQuery for you:

    
    

    This will avoid having to worry about the relative path to the script, avoid load on your server, and will be faster for users (who probably already have it in their browser's cache somewhere).

提交回复
热议问题