[IT168 News] The new version 1.4 of jQuery, the most popular JavaScript/Ajax library at present, has been released, giving a big gift to the 14-day celebration of the 4th anniversary of the jQuery project.
The compressed version of 1.4 is only 23K, and the uncompressed version is 154K. In addition, Google also provides a copy on its own servers as part of the Google Ajax API, which can be directly referenced.
jQuery 1.4 reorganized the code base internally and began to establish some style specifications. The old core.js files are divided into attribute.js, css.js, data.js, manipulation.js, traversing.js and queue.js. Logical separation of CSS and attributes. And fixed 207 errors in old versions.
The main new features are:
1. The performance of common methods has been greatly improved. Most of the earlier functions have been rewritten.
2. Easier to use setter function. Many new easy-to-use setup functions have been added for all objects.
3. Ajax improvements. Introduced many updates to Ajax and JSON handling, including serialization of HTML5 elements.
In addition, attributes (improved performance of .attr()), jQuery() core function, CSS (performance of .css() has been improved twice), special effects and events, DOM operations, etc. have also been significantly improved.
New methods of jQuery can be found at http://api.jquery.com/category/version/1.4/ .
The download page and more information can be found at http://jquery14.com/day-01/jquery-14