JQuery 1.5.1 Release, full support IE9 fix a lot of bug_jquery

Source: Internet
Author: User
Tags documentation tag name browser cache

We are very grateful to the following contributors (Contributors), who have provided many patches for this release (Patches):Antonkovalyov, Csnover, Danheberden, Davidmurdoch, Dmethvin, gnarf37, Jaubourg, Jeresig, jitter, Jrburke, Lrbabe, Mathiasbynens, Rwldrn, Slexaxton, and Voxwerk .

We are also particularly grateful to our bug classification team, where some of the major bugs have been modified in this update.

Download

As usual, we provide two copies of jquery. A compressed version of a uncompressed version (for debugging and Reading, respectively).

JQuery Minified (29kb gzipped)

jquery Regular (212kb) jquery download Address

You can refer to the above link address in your own website to get faster download speed.

Of course, you can also cite Microsoft or Google 's CDN Acceleration Server jquery, respectively, they are:

Microsoft CDN: http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.5.1.min.js

Google CDN: https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js

1.6 Road Map Discussion Conference (Roadmap meeting)

The core development team of JQuery is discussing the changes that will be made in jQuery1.6. We are currently planning to release jQuery1.6 in late April or early May, and we will discuss these proposals to be added to the new version (Eastern Time) at 3-month-7 noon.

You can use this form to Submit your proposal before the 3-month 7 meeting.

JQuery 1.5.1 Update log

API Documentation: JQuery 1.5.1 API documentation

Because this is a minor version update that fixes bugs, no new features are added. The only changes are as follows:

JQuery currently supports IE9 as an important browser. All known bugs have been repaired or submitted to IE's development team for resolution in the final release. (allknown bugs have been a fixed and/or been reported to the "IE team" for resolution in the final release. )

Three new parameters are added to the Jquery.ajax ():

IsLocal: allows the current execution environment to be recognized as "local" ( such as a file system), and JQuery does not recognize this environment by default. The following protocols are identified as local environments:file, *-entension, widget. If you need to modify islocal, it is recommended that you use the $.ajaxsetup () method to modify it.

MimeType: The MIME type that can be used to overwrite xhr.

Xhrfields: a key value pair (Fieldname-fieldvalue) that can be added to the native XHR object. For example, you can set Withcredentials to true in a Cross-domain call .

Fixed bug list

This version fixes the following bugs:

  • #2551 make sure. Val () Form.reset () in IE
  • #4537 make sure. Clone (True) correctly clones namespaced events
  • #4966 Don ' t add "px" to unit-less properties when animating them
  • #6774 Make sure we only access parentnode if it available. Fixes an issue where after a option tag has been detached, an elem.parentnode error would is thrown.
  • #6911Prevent action on disabled elements, both triggering and bound via. Live ()
  • #7531 Fix again for IE9RC. Enhances Ajaxsetup So, it can take a optional target option, in which case target would be updated instead of Ajaxsett Ings. That way, the fields that shouldn ' t is deep extended can be listed and dealt with. Jquery.ajax now makes the use of Ajaxsetup with the target to create its internal settings object
  • #7568 follow-up fix for #5862. Objects with a length property weren ' t serialized properly by Jquery.param
  • #7653 Changes regexp to detect local protocol so it'll accept any protocol finishing
  • #7668 Sizzle and JQuery qunit tests are out of sync
  • #7912 this change makes. Cur () Csshooks friendly. . Cur () now returns the unmodified value by. CSS () If it isn ' t a number, number-alike or a value that needs a fallback to 0 .
  • #7922 Fixed an issue where live (' click ') doesn ' t fire when live (' submit ') is bound
  • #7945 make Jquery.param () serialize plain objects with a property named JQuery correctly
  • #8033 jQuery 1.4.4+ fails to load on the pages with old Prototype (<= 1.5) or current Prototype + scriptaculous in IE
  • #8039 selectors with HTML5 input types not work in IE6/7
  • #8052 Update jQuery.support.noCloneEvent test to function properly in IE9
  • #8095 properly handles the case where browser cache needs to is bypassed while server-side logic still delivers proper 304 Responses. Unit Test added
  • #8098 Use the fast document.head when available
  • #8099 Always Restore to correct display value based on element ' s expected default display
  • #8107 Fix argument handling for $.ajax to multiple method signatues and add test case
  • #8108Temporary fix for JQuery metadata being exposed in plain JS objects when serializing with json.stringify to avoid COM Patibility-breaking changes. A proper fix is landed in 1.6
  • #8115 renames all references to JXHR with JQXHR in the code (like is done in the doc)
  • #8123 the default for. Clone ().
  • #8125 status is set to requests with the status 0 when location.protocol if "file:". Added test/localfile.html to control it works
  • #8129 Fix cloning multiple selected options in IE8
  • #8135 makes sure any exception thrown by Firefox when trying to access a XMLHttpRequest property when a network error OCC Ured is caught and notified as an error. Added test/networkerror.html to test the behavior
  • #8138 Access to Document.location are made only once at the load time and if it fails (throwing a exception in IE when Documen T.domain is already set), we use the href of A element instead
  • #8145 Added readywait Tests
  • #8146 Introducing the Xhrfields option with are a map of Fieldname/fieldvalue to set on the native XHR. Can is used to set Withcredentials to true for Cross-domain requests if needed
  • #8152 applying the same special cases for protocol "Chrome-extension:" As were for "file:" (needs Tests). Re-organizes and fixes the handling of special cases for HTTP status code in the XHR transport
  • #8177 XHR Transport now considers 304 not Modified responses as OK if no conditional request header is provided (as P ER the XMLHttpRequest specification)
  • #8193 fixes abort in Prefilter. No Global event would be fired in so case even if the global option was set to true. Unit Test added
  • #8198 Remove Unnecessary "script.type = Text/javascript;"
  • #8200 Unexpose $.support._scripteval as it ' s not needed. Use a private var instead
  • #8209 make sure which mousing over Chrome "internal div" doesn ' t trigger a MouseLeave
  • #8219 introduces the mimetype option to override Content-type header in conversion (and in native when XHR). Adds Companion Overridemimetype method on Jqxhr object (it simply sets the option)
  • #8220 Remove backslashes from tag name filter
  • #8245 Ajax now ensures header names are capitalized so non-compliant XHR implementations don ' t override them
  • #8250 Ajax does not work in opera widgets
  • #8277 Sets data to undefined rather than null when it isn't provided in Ajax helpers so, it won ' t revent data set in Ajaxsettings from being used.
  • #8297 Make sure response headers with empty values are handled properly and does not prevent proper of the parsing re Sponse headers String.
  • #8353 Adds a catch block in Resolvewith so the finally blocks gets executed in IE7 and IE6.
  • #8365 make sure that IE 9 still clones attributes.

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.