The advantages of using jQuery are:
1. JavaScript enhancement without the overhead of learning new syntax
2. Ability to keep the code simple, clear, readable and reusable
3. Eradication of the requirement of writing repetitious and complex loops and DOM scripting library calls
4. Ease of use- it is more easy to use than the standard javascript and other libraries.
5. Large library – It has a lot of functions compared to javascript.
6. Strong opensource community – there are a lot of plugins available for the faster development of the applications.
7. Great documentation and tutorials – the jQuery website has plenty of tutorials that are required for the beginners.
The disadvantages of jQuery
Of course, jQuery is not be the pink of perfection. As of jQuery deficiencies I found presently includes:
â—†Not backward compatible. Each new version is not compatible with earlier versions. For example, some new version no longer support some selector, the new jQuery retained no support for them, but simply removed. This may affect the developers have written code or plug-in.
â—†Plugin compatibility. Similarly, when a new version of the jQuery launch, if developers want to upgrade, to see whether to support the plugin author. Under normal circumstances, in the latest version of jQuery, the existing plug-in may not be normal use. More plug-in developers to use, the probability of this happening is also higher. I have a meeting in order to upgrade to jQuery 1.3, to amend the do it yourself a third party plugins.
â—†The use of multiple plug-ins on the same page, it is easy to encounter conflicts, especially these plugins to rely on the same event or selector when the most obvious. Although this is not jQuery's problem, but it is really a difficult to debug and solve problems.
â—†The stability of jQuery. It didn't make my browser crashes, I here refers to the version release strategy. JQuery version 1.3 released after only a few days, issued a bug fixed version of 1.3.1. They also removed some of the features of the support, normal operation may affect many code. I hope that similar changes do not appear again.
â—†In the large frame, jQuery core code library support for animation and special effects are relatively poor. But in fact this is not a problem. At present in this area have a separate jQuery UI project and many plugins to