A preliminary understanding of JavaScript function library Jquery_jquery

Source: Internet
Author: User
Tags button type versions jquery library

The JQuery library can be added to a Web page with a single line of markup.
JQuery Library-Features

JQuery is a library of JavaScript functions.

The JQuery library contains the following features:

    • HTML element Selection
    • HTML element Operations
    • CSS actions
    • HTML Event functions
    • JavaScript Effects and animations
    • HTML DOM Traversal and modification
    • Ajax
    • Utilities

Add a jQuery library to your page

The jquery library is located in a JavaScript file that contains all the jquery functions.

You can add jQuery to your Web page with the following markup:

 
 

Please note that the,<script> label should be located in the Basic JQuery Instances

The following example illustrates the Hide () function of jQuery, which hides all the <p> elements in the HTML document.
Instance

 
 

Give it a shot yourself.
Download JQuery

A total of two versions of JQuery are available for download: One is streamlined and the other is uncompressed (for debugging or reading).

These two versions are available for download from jquery.com.
Substitution of libraries

Google and Microsoft have a good support for jQuery.

If you don't want to store the jquery library on your own computer, you can load the CDN jquery core file from Google or Microsoft.
using Google's CDN

 
 

Using the 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.