WHAT IS JQUERY? A QUICK OVERVIEW
FEATURES OF JQUERY:
- DOM MANIPULATION AND ELEMENT SELECTION− The jQuery made it simpler to select DOM elements, traverse them and change and improve their content by using cross-browser open source selector engine called Sizzle.
- EVENT HANDLING − The jQuery has a great way to capture a wide variety of events, for example, a user clicking on a link, without the need to clutter the HTML code itself with event handlers.
- AJAX − The jQuery helps you a lot to develop a quickly accessible and feature-rich site using AJAX technology.
- ANIMATIONS AND EFFECTS− The jQuery released with the plenty of built-in animation effects, you can use in your websites.
- LIGHTWEIGHT − The jQuery is a very lightweight library, not have a big size.
- CROSS BROWSER SUPPORT − The jQuery comes with cross-browser support and can work with IE 6.0+, FF 2.0+, Safari 3.0+, Chrome and Opera 9.0+. However, jQuery version 2.x dropped Internet Explorer 6–8 support and supports only IE 9 and later versions.
- MODERN TECHNOLOGY − The jQuery supports CSS3 selectors and basic XPath syntax.
- DEFERRED AND PROMISE OBJECT − To control asynchronous processing
JQUERY SET UP:
- PLUG-INS – Its extensibility through plug-ins.
There are two ways to include jQuery in a project:
- Download a local copy.
- Link to a file via Content Delivery Network (CDN).
: jQuery can be used through two styles:
- By the $ function, which is a factory method for the jQuery object. These functions, called as commands, are chainable as they all return jQuery objects.
- By the $.-prefixed functions. These are utility functions, which do not directly act upon the jQuery object.