Home Videos Exercises MCQ Q&A Quiz Services Sign in

Introduction of jQuery

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

What is jQuery?

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

  • jQuery was created in 2006 at BarCamp NYC by John Resig
  • Stable release 3.7.1 August 28, 2023

jQuery library contains the following features:

  • HTML/DOM manipulation
  • CSS manipulation
  • HTML event methods
  • Effects and animations
  • Ajax

Why jQuery?

There are lots of other JavaScript libraries out there, but jQuery is probably the most popular, and also the most extendable.

Many of the biggest companies on the Web use jQuery, such as:

  • Google
  • Microsoft
  • IBM
  • Netflix

Adding jQuery to Your Web pages

There are several ways to start using jQuery on your web site.

  • Download the jQuery library from jQuery.com
  • Include jQuery from a CDN, like google

Downloading jQuery

There are two versions of jQuery available for downloading:

  • Production version - this is for your live website because it has been minified and compressed
  • Development version - this is for testing and development (uncompressed and readable code)

Both versions can be downloaded from jQuery.com.

jQuery CDN

If you don't want to download and host jQuery yourself, you can include it from a CDN (Content Delivery Network).