JS file import order in JSP __js

Source: Internet
Author: User
An error was encountered today: Referenceerror:jquery is not defined}) (jQuery); problem: Need to use dtree, so need to Dtree.js and jquery.checkboxtree.js two JS files, and these two files need jquery-1.8.2.min.js, I have introduced three after the above problems. Cause: The introduction of the sequence of problems, I first introduced the Dtree.js and Jquery.checkboxtree.js, and then introduced Jquery-1.8.2.min.js, the results of the error, should first introduce jquery-1.8.2.min.js.
Solution: Introduce the jquery-1.8.2.min.js first.
Related Article

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.