jquery - 0x800a1391 - JavaScript runtime error: '$' is undefined: directlink works but solution explorer file doesn't -


I got this error because VS can not find jquery file. I have added this to the solution explorer and added the source to the head of my master page, but VS can not get it for some unknown reasons. I tried Json2 and it also does not work. Finally I tried to use the direct link on the jquery download page and it worked and the problem was resolved.

But, this is not a clean fix because it will not work if jquerysite stops working then I should do better problem. Do you have any suggestions?

It's easy to fix:

  & lt; Script src = "http://code.jquery.com/jquery-1.9.1 .min.js" & gt; & Lt; / Script & gt;  

I think this is a jquery conflict error, please call it "jquery-1.9" "Insert 1.min.js" top file of all jquery files


Comments

Popular posts from this blog

eclipse plugin - Run java code error: Workspace is closed -

ios - How do I use CFArrayRef in Swift? -

scala - Play Framework - how to bind form to a session field -