Added html5 support for jQuery 1.7

Source: Internet
Author: User

Support for html5 is added to the latest version of jQuery. The released version number is jQuery1.7. JQuery is no stranger to us at all. As a third-party js plug-in, the degree of impact has actually affected the entire javascript Writing Method and improved js development efficiency. As a leader in js frameworks, jQuery has never interrupted the integration and support of new technologies. The biggest feature of the latest version is to add html5 support. Please download one and try it.

The jQuery team also announced they would begin to discard outdated features to streamline the code library and improve performance. Some APIs, such as. live () and. end (), have been abandoned in jQuery 1.7-these methods will continue to work, but they are not recommended for compatibility with future versions.

JQuery 1.7 has been released recently. The new version has made a number of improvements, such as new event API, delegate events with higher performance, HTML5 support for IE6-8, support for AMD specifications and so on. JQuery also discards some features to keep jQuery simple.

The following are some of the new features that interest jQuery 1.7:

  • New Unified event API --. on () replaces. bind (),. delegate () and. live ();. off () replaces. unbind (),. undelegate () and. die ().
  • In most common cases, the performance of delegate events has been improved.
  • Better support for HTML5 labels under the IE6-8, such as the <section> can use the .html () method. Older IE versions still require html5shiv or Modernizer support.
  • Animation switching effects-such as. slideToggle () and. fadeToggle ()-are more intuitive-when an animation ends prematurely, subsequent animations can be properly reset.
  • Supports AMD specifications-jQuery can now work with Script loaders that comply with AMD specifications, such as RequireJS or curl. js.

Some non-standard features have been completely removed in version 1.7.

  • Event. layerX and event. layerY
  • JQuery. isNaN () (informal function)
  • JQuery. event. proxy () (informal method)

For more information about the new abandon policy and abandoned features, see this blog.
View Original English text:JQuery 1.7 Brings HTML5 To IE6-8, Gets Deprecation Policy

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.