jQuery


jQuery

jQuery was designed for John Resig in 2006, a fast and compact JavaScript library. jQuery facilitates Rapid Web Development HTML traversal of the document, event handling, animation, and Ajax interactions.

The JavaScript Library jQuery was established by John Resig in 2006 and is a quick and simple book with a beautiful motto: write lower, accomplish more. For quick web development, jQuery facilitates HTML traversing, event handling, entertainment, and Ajax interactions. jQuery is a toolbox for JavaScript that simplifies numerous tasks by writing less code. Here is the list of key features that jQuery supports –

  • DOM manipulation − The jQuery made it possible to use the Sizzle-recorded open source selector engine to choose, negotiate and alter the DOM elements.
  • Event Management − JQuery is an elegant technique of capturing a wide range of events, such as clicking on a connection, without storing the HTML code with the event managers themselves.
  • The jQuery supports you a lot in building a responsive and highly featured website with AJAX technology.
  • Animations − JQuery comes with many integrated animation effects that you can utilize on your sites.
  • Lightweight − the jQuery library is very lightweight - around 19KB (Minified and gzipped).
  • Cross Browser Support — jQuery is supported by cross-browser, IE 6.0+, FF 2.0+, Safari 3.0+, Chrome, and Opera 9.0+ are all working properly.
  • CSS3 selectors and fundamental XPath syntax are supported by jQuery.

This lesson is intended for software programmers who wish to learn in a simple and easy way the principles of jQuery and its programming concepts. This lesson will provide you with sufficient information about jQuery components with appropriate examples.

You should grasp HTML, CSS, JavaScript, and the Model Document Object (DOM) as well as any text editor before you begin with this tutorial. As we construct web-based applications using jQuery, it is good to understand how web-based applications work.

What is jQuery?

John Resig established JQuery in 2006 with a quick and compact JavaScript library with a beautiful motto: Write less, do more. For quick web development, jQuery streamlines HTML document traversing, event handling, animation, and Ajax interactions. JQuery is a toolbox for JavaScript developed by writing less code to simplify different tasks. This is a collection of major jQuery supporting core functions −

  • DOM Manipulation - JQuery facilitated the selection of DOM elements by using the Sizzle Open Source Cross-Browser engine to negotiate them and modify their content.
  • The management of events − jQuery offers an elegant approach to collecting a large number of events, like a user who clicks on a link, without confusing the HTML code with event managers.
  • AJAX Support – JQuery helps you build a responsive and highly functional website with AJAX technology.
  • Animations − JQuery features numerous integrated animation effects that you can utilize on your sites.
  • jQuery is a lightweight library - approximately 19KB in size (Minified and gzipped).
  • Cross Browser Support − The jQuery has cross-browser support and works well in IE 6.0+, FF 2.0+, Safari 3.0+, Chrome, and Opera 9.0+
  • The latest technology − The CSS3 selector and basic XPath syntax are supported in jQuery.

How to use jQuery?

Two techniques to use jQuery are available.

  • Local installation - You can download and incorporate your jQuery library on your home computer in your HTML code.
  • CDN Based − You can easily incorporate the Content Delivery Network jQuery library into your HTML code (CDN).