jQuery 1.7 Introduces On/Off Switch |
Written by Ian Elliot | |||
Monday, 07 November 2011 | |||
New event APIs in jQuery 1.7 provide for an improved, and quicker, way to bind to events and refactoring has led to improved delivery performance on delegated events. According to jQuery blog, the major "big item" in jQuery 1.7 is the the inclusion of new event APIs, $(elements).on( events When a selector is provided, Although all the existing event binding and unbinding methods are still available, the use of jQuery 1.7 event handling has been refactored to making delegated events faster and the result reported in this chart is that delegated events are delivered in about half the time they took in 1.6.4. This release also offers better support for HTML5 in older versions of Internet Explorer to overcome the problem that IE 6/7/8/ strip out new HTML5 tags such as Three other enhancements are that jQuery now supports the AMD API; the
More informationDowload the code from the jQuery CDN (Content Delivery Network) at http://code.jquery.com/jquery-1.7.js (or in minified form http://code.jquery.com/jquery-1.7.min.js).
To be informed about new articles on I Programmer, subscribe to the RSS feed, follow us on Twitter or Facebook or sign up for our weekly newsletter.
|
|||
Last Updated ( Monday, 07 November 2011 ) |