jQuery
jQuery
What is jQuery?
jQuery is a fast, small, and feature-rich JavaScript library. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers.
With a combination of versatility and extensibility, jQuery has changed the way that millions of people write JavaScript.
What is jQuery used for?
jQuery is a lightweight, "write less, do more", JavaScript library. The purpose of jQuery is to make it much easier to use JavaScript on your website.
jQuery takes a lot of common tasks that require many lines of JavaScript code to accomplish, and wraps them into methods that you can call with a single line of code.
History :-
jQuery was originally created in January 2006 at BarCamp NYC by John Resig, influenced by Dean Edwards' earlier cssQuery library.
It is currently maintained by a team of developers led by Timmy Willison (with the jQuery selector engine, Sizzle, being led by Richard Gibson).
jQuery was originally licensed under the CC BY-SA 2.5, and relicensed to the MIT license in 2006. At the end of 2006, it was dual-licensed under GPL and MIT licenses.
As this led to some confusion, in 2012 the GPL was dropped and is now only licensed under the MIT license.
Popularity
- In 2015, jQuery was used on 62.7% of the top 1 million websites (according to BuiltWith), and 17% of all Internet websites.
- In 2017, jQuery was used on 69.2% of the top 1 million websites (according to Libscore).
- In 2018, jQuery was used on 78% of the top 1 million websites.
- In 2019, jQuery was used on 80% of the top 1 million websites (according to BuiltWith), and 74.1% of the top 10 million (per W3Techs).
- As of Feb 2020, jQuery is used by 74.4% of the top 10 million websites (according to W3Techs).
Features :-
jQuery includes the following features:
- DOM element selections using the multi-browser open source selector engine Sizzle, a spin- off of the jQuery project[20]
- DOM manipulation based on CSS selectors that uses elements' names and attributes, such as id and class, as criteria to select nodes in the DOM
- Events
- Effects and animations
- Ajax
- Deferred and Promise objects to control asynchronous processing
- JSON parsing
- Extensibility through plug-ins
- Utilities, such as feature detection
- Compatibility methods that are natively available in modern browsers, but need fallbacks for older browsers, such as jQuery.inArray() and jQuery.each().
- Cross-browser support
Comments
Post a Comment
If you have any douts, Please let me know