JQuery, a popular open source JavaScript Library, provides many advanced and cross-browser functions that can enhance your web applications. 

This article introduces JQuery, an extremely popular, open source JavaScript library. We will start by looking at the current state of the art in JavaScript technology to see why JQuery is used in many impressive applications.

JQuery functionality:

  • Selecting HTML elements with JQuery
  • Manipulating HTML elements
  • Adding some animations to the Web page
  • Using JQuery UI to add a custom theme
  • Extending JQuery with the numerous available plug-ins

Why Use JQuery Instead of Just Basic JavaScript?
JavaScript is a fairly low-level programming language. It does not provide advanced page manipulation and decoration functions, and it provides nothing concerning animations. Moreover, using direct JavaScript can cause issues related to browser incompatibilities. Those issues have made many JavaScript applications difficult to code, resulting in high maintenance costs.

JQuery aims to ease all these problems by providing a lightweight library that adds many advanced and cross-browser functions to the standard language. In addition, there is a very dynamic community that adds more-advanced components based on JQuery.

A modern Web application wouldn't be complete without some AJAX functionality. JQuery provides functions for sending HTTP GET and POST requests, and it can work easily with the JavaScript Object Notation (JSON) format we saw in the first article. This functionality enables us to query the REST back end we coded in the first article.