jquery Error: Uncaught referenceerror: $ is not defined

Source: Internet
Author: User
Tags jquery library

When making a plugin on chrome, write popup.js when you find that $ is not available, I thought it would be good to have jquery-mini-2.0.js on the Manfest.json, not really, but still need to configure Jquery-mini-2.0.js path <script src= on the HTML that calls him popup.html Js/jquery-2.1.1.min.js "></script>

Reference article http://www.xuebuyuan.com/1195507.html

jquery Error: Uncaught referenceerror: $ is not definedJuly 23, 2013

When using jquery, we found the following error:

Uncaught Referenceerror: $ is not defined (anonymous function)

The reason for this error:

The path to the 1.jQuery library file is incorrect, and checking the file path is correct in general to resolve the error.

2. If the path to the library file is correct, then it is possible to load the jquery library file in HTML in the wrong order, which can be resolved if the jquery library file is loaded at the very beginning.

jquery Error: Uncaught referenceerror: $ is not defined

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.