Introduction to jQuery



The jQuery library can be added to a web page with a simple line of markup.


Basic knowledge you need

Before you start learning jQuery, you should have a basic understanding of the following knowledge:

  • HTML
  • CSS
  • JavaScript

If you need to learn these subjects first, please find these tutorials on our home page.


What is jQuery?

jQuery is a JavaScript function library.

jQuery is a lightweight "write less, do more" JavaScript library.

jQuery library includes the following functions:

  • HTML element selection
  • HTML element operation
  • CSS operation
  • HTML event function
  • JavaScript Special Effects and Animations
  • HTML DOM Traversal and Modification
  • AJAX
  • Utilities

Tips: In addition, Jquery also provides a large number of plug-ins.


Why use jQuery?

There are a large number of open source JS frameworks on the Internet, but jQuery is currently the most popular JS framework and provides a large number of extensions.

Many big companies are using jQuery, for example:

  • Google
  • Microsoft
  • IBM
  • Netflix
lampDoes jQuery work in all browsers?

The jQuery community knows that JS works in different There are a lot of compatibility issues in browsers. Currently jQuery is compatible with all major browsers, including Internet Explorer 6!