erbuild.blogg.se

Jquery
Jquery









jquery

jQuery’s introduction ensured web pages were rendered correctly regardless of the browser a user has.

jquery

Old browsers did things quite differently as there was no standard way to do things and developers had to make several checks to ensure that JavaScript behaved as needed in IE, Firefox, Opera, Safari and Chrome.

jquery jquery

A solution to cross-browser compatibility issues – jQuery’s main selling point is its solution to cross-browser compatibility issues.Make better HTTP requests – jQuery’s AJAX method to easily handle HTTP requests made earned it many fans as the old way of making an HTTP request in JavaScript – using XMLHttpRequest (XHR) – was a tedious process.Animating elements – Animating web content was one of the major selling points of jQuery.Manipulating the DOM elements – jQuery makes it easier to change styles and behaviors of elements by using a selector to reference the target element and including a method that applies the changes desired.Traversing the DOM in older browsers was a complex thing to do. Traversing the DOM – jQuery made it easier to traverse the DOM (as there was no standard way to do so).You can learn more about the history and legacy of jQuery here. This has caused a sharp decline in usage and many questions asked on popular platforms like Reddit and StackOverflow. The library’s popularity increased when Microsoft and Nokia announced their public support for it in September 2008 and it has maintained at the top in terms of JavaScript library and framework interests within developers until recently, when it has seen many notable companies and libraries that used jQuery as a dependency (GitHub, Bootstrap 5) drop support for it. It made it easier and simpler to write JavaScript and HTML. With a combination of versatility and extensibility, jQuery has changed the way that millions of people write JavaScript.īasically, it is a JavaScript library that was built to make DOM manipulations possible at a time when accessing the DOM and doing certain things with JavaScript were practically impossible in older browsers. 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. JQuery is a fast, small, and feature-rich JavaScript library. What is jQuery?Īccording to jQuery’s official documentation: In this post, I will give a run through of jQuery, its history, strengths, weaknesses, why you might still want to use it, and how to get started in 2019. With the rise of modern libraries, frameworks, the standardization of browser APIs, and the decline of job postings that require jQuery skills there is a concern around developers continuing to learn jQuery. There have been discussions on how jQuery, a popular JavaScript library, is dead/dying. Anjolaoluwa Adebayo-Oyetoro Follow Maker.











Jquery