admin管理员组文章数量:1414888
I got this error because VS can't find the jquery file. I have added it in solution explorer and added the source in my master page's head but VS can't find it for some unknown reason. I tried json2 and it doesn't work either. Finally I tried to use the directlink to jquery downloadpage and it worked and the problem was solved.
But, this isn't a clean fix since it will not work if the jquerysite stops working so I want a better fix do this problem. Do you have any tips?
This is the easy fix:
<script src=".9.1.min.js"></script>
I got this error because VS can't find the jquery file. I have added it in solution explorer and added the source in my master page's head but VS can't find it for some unknown reason. I tried json2 and it doesn't work either. Finally I tried to use the directlink to jquery downloadpage and it worked and the problem was solved.
But, this isn't a clean fix since it will not work if the jquerysite stops working so I want a better fix do this problem. Do you have any tips?
This is the easy fix:
<script src="http://code.jquery./jquery-1.9.1.min.js"></script>
Share
Improve this question
edited Aug 23, 2017 at 1:44
Cœur
38.8k25 gold badges206 silver badges278 bronze badges
asked Feb 18, 2014 at 9:30
HannesHannes
1401 gold badge3 silver badges20 bronze badges
2
- I think jquery not included & it includes jquery its fine – Jain Commented Feb 18, 2014 at 9:31
- Google also provide jquery cdn – Jain Commented Feb 18, 2014 at 9:31
2 Answers
Reset to default 1I think this is a jquery conflict error , please put this "jquery-1.9.1.min.js" file top of the all jquery files.
check your scripts folder
if you are using the same version of jquery as i am, you can add this line to your layout, if your page is indeed using a layout
<script src="~/Scripts/jquery-1.10.2.min.js"></script>
本文标签:
版权声明:本文标题:jquery - 0x800a1391 - JavaScript runtime error: '$' is undefined: directlink works but solution explorer file do 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745155693a2645158.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论