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