JQuery 1.6.4 RC1 released

Source: Internet
Author: User

JQuery 1.6.4 RC1 released

The official blog of jQuery writes that jQuery 1.6.4 will be released soon. You need help to find out the existing bugs. It is important to fix these bugs before the release of the .7 version on January 1, 1st day of next month. If you have time, you can test jQuery 1.6.4 RC1.

Bugs fixed in jQuery 1.6.4 RC1 include:

1. Data attributes

Share the best UI front-end framework!

Before jQuery 1.6.4, an error occurred while obtaining the data attribute "data-image-x-offset" through ". data ('imagexoffset ')". For example, the following HTML is displayed on the page:. Code
  1. The following jQuery code illustrates the problems in jQuery 1.6.3:. Code
    1. <Script src = "http://ajax.googleapis.com/ajax/libs/jquery/1.6.3/jquery.min.js" type = "text/javascript"> </script>
    2. <Script type = "text/javascript">
    3. $ (Document). ready (function (){
    4. Alert (
    5. // ImageXOffset
    6. $. CamelCase ('image-x-offset ') + "\ n" +
    7. // Undefined
    8. $ ('# Id'). data ($. camelCase ('image-x-offset') + "\ n" +
    9. // 100
    10. $ ('# Id'). data ('image-x-offset') + "\ n" +
    11. // 100
    12. $ ('# Id'). data ($. camelCase ('image-x-offset '))
    13. );
    14. });
    15. </Script>

      In jQuery 1.6.4, "100" is output, and this bug is fixed.

      2. Event

      In IE8, $ ("form"). live ("submit", fn) events are not triggered. The following HTML is available:

      . Code
      1. $ (Document). ready (function (){

        . Code
        1. $ ('Form'). live ("submit", function (){
        2. // The latter will not be executed in jquery1.6.3
        3. Alert ("before submit ");
        4. });
        5. });
           

          Finally, there is a bug in jQuery 1.6.3 mime type application/xhtml + xml. Share the best UI front-end framework!

          Of course, our common web developers do not need to follow up so quickly. After all, it is difficult to ensure the latest jQuery 1.6.4 version is compatible with previous jQuery plug-ins. For example, jQuery learning is still using jQuery 1.6.2. However, understanding the modified content and changes in the new jQuery version will be of great help to the jQuery code we have written. I hope you will pay attention to it.

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.