jQuery最新版发布此次改动的内容如下
改动内容和功能增强:
(New) Added a new animation method, .fadeToggle()
(Enh) Calling .data() with no arguments now includes data from HTML5 data- attributes (#7222)
(Enh) Moved jQuery.props from support.js to attributes.js (#6897)
(Enh) .width() and .height() now report the width and height of hidden elements (#7225)
(Bug) stopImmediatePropagation was not being honoured in live/delegate event handlers (#7217)
(Bug) Fixed an issue where host and protocol were not compared case-insensitively when determining whether an AJAX request was local or remote (#6908)
(Bug) Fixed an issue where the “clone” variable was not being declared correctly (#7226)
(Bug) Fixed a bug where we only change the ID on nodes that don’t already have an ID for rooted qSA (#7212)
(Bug) Changing an HTML5 data attribute after calling .data(‘foo’) no longer causes .data(‘foo’) to also change (#7223)
(Bug) Fixed a bug where Opera didn’t give height/width of display: none elements with getComputedStyle but did with currentStyle – fall back to that if it exists added.
修复的bugs:
(Bug) JSONP calls to fail when cleaning up after a callback (#7196)
(Bug) .removeData() to fail (#7209)
(Bug) “ready” events to fire twice when added using .bind(“ready”, foo) (#7247)
(Bug) .css(‘width’) and .css(‘height’) to return 0 or negative values when trying to get the style of a hidden or disconnected element (#7225)
(Bug) the attribute not equals selector ([foo!=bar]) to not work in Firefox (#7243)
(Bug) find() to fail when selecting from forms containing inputs named “id” (#7212)
(Bug) .children(selector) to fail on XML documents (#7219)
(Bug) child (>), next sibling (+), and previous sibling (~) selectors to fail when combined with non-CSS pseudo-selectors like :last (#7220)
(Bug) an error “handler is null” to be raised when passing null as the event handler (#7229)
(Bug) it to be impossible to include a content-body with DELETE requests (#7285)
(Bug) it to be impossible to include data with HEAD requests (#7285)
(Bug) an issue where IE was firing click events on disabled elements when using live/delegate (#6911)
(Bug) .show() to fail if .hide() was first called on an already-hidden element (#7331)
(Bug) .show() to fail if an element was hidden in a stylesheet, then had .css(‘display’) manually set prior to calling .show() (#7315)
(Bug) Sizzle.contains to throw an error on browsers that have no support for compareDocumentPosition or documentElement.contains (#7236)
jQuery最新版下载地址:http://code.jquery.com/jquery-1.4.4rc2.js