What is jQuery? JQuery overview and tutorials

Tram Ho

If you are learning what jQuery is and learning how to use it, this is the article for you. The eye of the storm will present an overview for readers to easily grasp about jQuery. Let’s find out.

What is jQuery?

jQuery is a library written from JavaScript, jQuery makes building Javascript functions easier, faster, and more feature rich.

jQuery is integrated with many different modules. From the effects module to the query selector module. jQuery is used 99% of the total websites in the world. So what are the main modules of jQuery?

Popular jQuery modules include:

  • Ajax – Ajax handling!
  • Atributes – Process the attributes of the HTML object
  • Effect – process effects
  • Event – event handler
  • Form – handle events related to the form
  • DOM – handling the Data Object Model
  • Selector – for handling the flow of HTML objects
  • What is jQuery?
  • jQuery is a JavaScript library that simplifies JavaScript programming
  • jQuery is not a separate programming language that works in conjunction with JavaScript. With jQuery, you can get more done with less effort. jQuery provides APIs that make HTML document browsing, animation, event handling, and AJAX manipulation simpler. jQuery works well across many different types of browsers. One of jQuery’s big competitors is the JS Framework.

You can learn more about AJAX in the article: “What is AJAX?”

The history of jQuery

jQuery was released in January 2006 by John Resig at BarCamp NYC. It is maintained and developed by a team of Google developers led by Timmy Wilson.

Here’s the jQuery version history:

  • Version No. Release Date
  • 1.0 26, August, 2006
  • 1.1 14, January, 2007
  • 1.2 10, September, 2007
  • 1.3 14, January, 2009
  • 1.4 14, January, 2010
  • 1.5 31, January, 2011
  • 1.6 3, May, 2011
  • 1.7 3, November, 2011
  • 1.8 9, August, 2012
  • 1.9 15, January, 2013
  • 1.10 24, May, 2013
  • 1.11 24, January, 2014
  • 2.0 18, April, 2013
  • 2.1 24, January, 2014

Important jQuery features

What are the important features of jQuery? Why is jQuery so popular and useful?

  • Compact: jQuery is a fairly lightweight library – about 19KB (gzipped) in size.
  • Cross-platform compatibility: It auto-fixes and runs on all popular browsers like Chrome, Firefox, Safari, MS Edge, IE, Android and iOS.
  • Easy Ajax creation: Thanks to the jQuery library, the code written by Ajax can easily interact with the server and update content automatically without having to reload the page.
  • Quick handling of DOM manipulation: jQuery makes it easy to select DOM elements to traverse, and edit their content using the open source selector, also known as Sizzle.
  • Simplify animation: Like an animated snippet code, it overwrites lines of code and you just add variables / content.
  • Good HTML event method support: Event handling – jQuery handles a variety of events without messing up the HTML code with Event Handlers.

What are the advantages of jQuery?

The advantages of jQuery are both important and worthwhile:

  • jQuery processes code very quickly and is extensible.
  • jQuery makes it easy for the user to write functional code with minimal lines.
  • jQuery improves web programming performance.
  • jQuery develops browser-compatible applications.
  • Most of the new browser features are used by jQuery.

How to install jQuery

The simplest and fastest way is to download jQuery to your computer

The first way is to download the jQuery library from http://jQuery.com/download . Which version you choose depends on two factors: the web browser you are using and where you use jQuery. Then you can include the jQuery library in your HTML file like so:

Share the news now

Source : Viblo