A preliminary understanding of JavaScript function library jQuery and function library jquery

Source: Internet
Author: User

A preliminary understanding of JavaScript function library jQuery and function library jquery

The jQuery library can be added to a webpage with a simple line of markup.
JQuery library-Features

JQuery is a JavaScript function library.

The jQuery Library has the following features:

  • HTML element selection
  • HTML element operations
  • CSS operations
  • HTML event Functions
  • JavaScript effects and animation
  • Html dom traversal and Modification
  • AJAX
  • Utilities

Add a jQuery library to your page

The jQuery library is located in a JavaScript file, which contains all jQuery functions.

You can add jQuery to the webpage using the following tag:

Note that the <script> label should be in the Basic jQuery instance

The following example demonstrates jQuery's hide () function, hiding all the <p> elements in the HTML document.
Instance

Try it yourself
Download jQuery

There are two versions of jQuery available for download: one is simplified and the other is uncompressed (for debugging or reading ).

Both versions can be downloaded from jQuery.com.
Database substitution

Google and Microsoft have good support for jQuery.

If you do not want to store the jQuery library on your computer, you can load the CDN jQuery core file from Google or Microsoft.
Use Google CDN

Use Microsoft CDN


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.