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>