Presentation of JQuery

JQuery is a type of Javascript library (Prototype, Ext Core and moo.fx are other examples) designed to make Javascript more accessible and easy to use. JQuery simplifies the Javascript syntax and relatively provides better interaction between Javascript and other web development languages. JQuery provides easier access to the DOM model and allows creating animations, widgets and dynamic web segments (AJAX) easily in comparison to using Javascript alone. JQuery is also the most popular javascript library in use today utilized by dozens of uber-popular websites.

JQuery is wildly popular because it allows achieving an array of functions, simple as well as complex using the minimal amount of code. JQuery is usually used to implement any feature in the DOM model in a simpler manner and also for ajax functionality. Even apparent complex functions like expandable text blocks (which maybe used in FAQ's, etc.) can be achieved with just a few lines of code using JQuery.

JQuery maybe used by referring to a single javascript file (available online, mirrored in several locations including google.com and microsoft.com), once the source has been set to the file, all the functionality of JQuery will be appended to your code. The easiest way to append JQuery to your code is using the piece of code below:

The jquery.js javascript file can be downloaded from the official jquery.com website and uploaded on your web server (or retrieved remotely from a mirror), the path can then be assigned in the source section and JQuery functionality will be instantly available to the code within the script tag. JQuery is highly versatile and compatible and functions on all latest versions of popular browsers and is only approximately 25 KB in size. But it's also possible to load it in by referring to an online location on the Google Servers like I did here. The first line of code includes version 1.4.2 of the JQuery core, the second line loads JQuery UI, an extra library that allows you to implement fancy widgets (like a datepicker, a dialog box, an accordion) easily. We use quite a few of these on The Lingerie Post's price comparison tool, and don't exceed 30KB in total size!

Another striking feature of JQuery is the ability to implement AJAX functionality. Ajax allows you to accomplish several functions in a stylish manner without leaving or reloading the page. This allows a dynamic web page environment as tasks can be performed on the page in the background without a reload of a page required. Today it is extensively used in several websites as it is a faster and sleeker alternative and JQuery allows implementing ajax functionality a breeze. Certain highly custom features required by a web developer may render JQuery insufficient as it is a very high level language but the community behind the open source library is strong and thus more functionality is been added with every update.