jQuery is a cross-browser lightweight JavaScript library. In simple words jQuery has been designed to make navigation to any element easier, or adding/invoking event handlers on your HTML page. Using jQuery, one can easily convert his static looking website to a powerful and dynamic website.

Before proceeding further, I would like to clarify one very important point; that jQuery is extraordinarily useful, but you should still know how JavaScript works and how to use it correctly.

A quick look at what is available in jQuery:

Getting Started

  1. To start with jQuery you must first of all download the latest version from http://jquery.com
  2. Provide the reference of the downloaded file in your HTML page.

    e.g. <script type="text/javascript" src="jquery.js"></script>

jQuery Core Concepts

The entire jQuery logic rotates around the magic of the $() function. $() by default, represents the jQuery object. When combined with a selector, it can represent multiple DOM Elements.

The most popular function of jQuery is:

$(document).ready(function() {
// script goes here
});

Since this is fired when the DOM is ready for programming.

jQuery Selectors

I have tried to cover most basic features that will help to start with jQuery.

Thanks for your reading. Please provide your inputs and suggestions for the article.