] in the [] tag Just code."/> ] in the [] tag Just code.">

Home >Web Front-end >JS Tutorial >How to import jquery

How to import jquery

coldplay.xixi
coldplay.xixiOriginal
2020-11-16 16:00:177272browse

How to import jquery: first download the jquery plug-in; then upload it and insert [] code is enough.

How to import jquery

Recommended: "jquery video tutorial"

How to import jquery:

Method 1, CDN reference: Find the jQuery site, such as searching for "Baidu CDN" to find the jquery link provided by Baidu.

How to import jquery

Method 1, CDN reference: Find the jquery name and corresponding address to be used.

How to import jquery

Method 1, CDN reference: insert

<script type="text/javascript" src="in" the> tag "http://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>code, you can complete the reference of the corresponding jquery code.

How to import jquery

Method 2, local download reference: Download the jquery plug-in.

How to import jquery

#Method 2, local download and reference: upload to the project file directory and then reference. After uploading, insert the <script type="text/javascript" src="local%20jquery%20address/jquery%20file%20name.js"></script> code in the

tag. Complete the reference to the corresponding jquery code.

How to import jquery

Related free learning recommendations: JavaScript (video)

The above is the detailed content of How to import jquery. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn