Does jquery charge?

青灯夜游
Release: 2020-11-17 16:24:53
Original
1986 people have browsed it

jquery does not charge, it is free. jQuery is an open source JavaScript framework licensed under the MIT license; to put it simply, anyone can use jQuery for free.

Does jquery charge?

jquery does not charge, it is free. jQuery is an open source product that anyone can use freely.

[Related recommendations:jQuery video tutorial]

jQuery is a simple and fast JavaScript library that can be used to simplify event processing, HTML document traversal, and Ajax interaction and animations for rapid website development. jQuery simplifies client-side scripting of HTML, thereby simplifying the development of Web 2.0 applications.

The purpose of jQuery design is "write Less, Do More", which means writing less code and doing more things. It encapsulates common JavaScript function codes, provides a simple JavaScript design pattern, and optimizes HTML document operations, event processing, animation design and Ajax interaction.

The core features of jQuery can be summarized as follows: It has a unique chain syntax and a short and clear multi-functional interface; it has an efficient and flexible CSS selector, and can extend the CSS selector; it has convenient plug-in extensions Mechanism and rich plug-ins.

Advantages of Jquery

(1)Open source. jQuery is open source software, licensed under the MIT license; to put it simply, anyone can use jQuery for free and without charge.

(1)Lightweight. jQuery is very lightweight. After compression using Dean Edwards' Packer (http://dean.edwards.name/packer/), the size is less than 30KB. If gzip compression is enabled on the server, the size is even only 16KB!

(3) Powerful selector. jQuery allows operators to use almost all selectors from CSS 1 to CSS 3, as well as advanced and complex selectors unique to jQuery. If you need, you can also add a plug-in to support XPath selectors! In the next chapter, we will explain to you the powerful selectors in jQuery in detail.

(4) Excellent encapsulation of DOM operations. jQuery encapsulates a large number of commonly used DOM operations, allowing you to write programs related to DOM operations with ease, elegantly completing various otherwise very complex operations, and allowing JavaScript novices to write excellent programs. Chapter 3 will focus on introducing you to the elegant DOM operations in jQuery.

(5) Reliable event processing mechanism. jQuery's event processing mechanism absorbs the essence of the event processing function written by JavaScript expert Dean Edwards, making jQuery quite reliable when processing event binding. jQuery also does a very good job in reserving graceful degradation. Chapter 4 will focus on event handling in jQuery.

(6) Perfect Ajax. jQuery encapsulates all Ajax operations into a function $.ajax, allowing us to concentrate on business logic when dealing with Ajax without having to worry about complex browser compatibility and the creation and use of XMLHttpRequest objects. Chapter 6 will focus on Ajax processing in jQuery.

(7) Do not pollute top-level variables. jQuery only creates an object named jQuery, and all its methods are under this object. Another alias $ can also hand over control at any time. It will never contaminate other objects!

(8)Excellent browser compatibility. As a popular JavaScript library, browser compatibility is naturally one of the necessary conditions. jQuery can run normally under IE 6.0, FF 2, Safari 2.0 and Opera 9.0. Also fixed some differences between browsers. This saves you from having to worry about building a browser compatibility library before starting a project.

(9) Chain operation mode. The most distinctive feature of jQuery is its chain operation method - that is, a set of actions that occur on the same jQuery object can be written directly without repeatedly obtaining the object. This makes jQuery code extremely elegant. Please note that in Chapter 1.3.3, we will discuss the corresponding coding style issues.

(10) Separation of behavioral layer and structural layer. Developers no longer need to call events in html, but directly use jQuery selectors to select elements and then add events directly to the elements.

(12) Rich plug-in support. The growth of anything can never develop without the support of many people. jQuery's easy extensibility has attracted developers from all over the world to jointly write jQuery extension plug-ins. There are currently more than hundreds of official plug-ins supported. In Chapter 7, we will introduce several currently popular plug-ins and guide everyone to write their own plug-ins.

(12) Complete documentation. The documentation of jQuery is very rich. At present, most of the documentation is in English, but there are fewer Chinese documents. Of course, many teams that love jQuery are working hard on this, such as "Learning jQuery" translated by Turing Education.

For more programming-related knowledge, please visit:Programming Learning! !

The above is the detailed content of Does jquery charge?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!