Jquery released the first beta version of brand new version 1.8.

Source: Internet
Author: User

Jquery released the first beta version of the brand new version 1.8 ,:

Http://code.jquery.com/jquery-1.8b1.js

At present, more than half of the world's largest websites are using jquery. This is a huge success, but we cannot be excited because in the past few years, the browser has undergone incredible changes, and web development must constantly adapt to this change. jquery should continue to develop to support this change.

Jquery 1.8 is a new milestone version. The main features of this version include:

1. Modularization

You can build a custom jquery version as needed, including one or more modules you want. You can use the grunt tool to implement this function. Jquery's modules include Ajax, CSS, dimensions, effects, and offset. If you do not need some optional modules, the jquery compression is only about 21 kb.

2. Support the CSS prefix attribute of the browser

For example, if $ ("# myscroll"). CSS ("marquee-direction", "backwards") is executed on the Chrome browser, the final result is-WebKit-marquee-direction: backwards

3. Support for animation (special effects)

Previous versions of jquery are a mess in animation processing. version 1.8 restructured and cleans up this part, and now it is easy to add the animation function, however, the current beta1 version mainly ensures that the restructured code can work.

4. refactor the CSS selector engine-Sizzle

The reconstructed sizzle further improves the performance.

5. prevent cross-site scripting (XSS) Attacks

6. Discard the API

For details about these improvements and the actual improvement records, see the official release notes.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.