jQuery 1.6.2 Released

Posted on by

jQuery 1.6.2 Released

jQuery 1.6.2 is now out! This is the second minor release on top of jQuery 1.6 and lands a number of fixes for bugs.

As usual, we provide two copies of jQuery, one minified and one uncompressed (for debugging or reading).

You can feel free to include the above URLs directly into your site and you will get the full performance benefits of a quickly-loading jQuery.

You can help us by dropping that code into your existing application and letting us know that if anything no longer works. Please file a bug and be sure to mention that you’re testing against jQuery 1.6.2.

We want to encourage everyone from the community to try and get involved in contributing back to jQuery core. We’ve set up a full page of information dedicated towards becoming more involved with the team. The team is here and ready to help you help us!

jQuery 1.6.2 Change Log

The current change log of the 1.6.2 release.


  • #9286: Using live submit on forms
  • #9298: $(elem).attr(eventName) not working properly in IE7
  • #9329: attr(“title”) issue in ie7
  • #9362: .attr(“value”) does not work for meter elements
  • #9468: $(‘form’).attr(‘class’) always return undefined in IE 6
  • #9499: removeClass will only remove the first instance of a class


  • #9301: Setting data() via an object with hyphenated keys create inaccessible data.
  • #9368: jQuery.camelCase() defined in css.js, but used more widely
  • #9471: memory leak noticed when loading jquey.1.6.1.min.js included html pages in the iframe


  • #7557: outerWidth()
  • #9237: .css() doesn’t work with relative values on hyphenated properties


  • #9300: outerWidth(true) issue


  • #9220: Animation Callbacks fire AFTER the next queue function executes.
  • #9678: setInterval cleared by animation



  • #8950: (Chrome, Firefox) Second argument (event empty) in jQuery throws error while creating <input>
  • #9370: Compatibility Issue with jQuery 1.6 and IE6


  • #9239: Version 1.6.0 breaks the background behavior on body element
  • #9440: v1.6.1 messes up layout in IE8

15 thoughts on “jQuery 1.6.2 Released

  1. Greg on said:

    Thanks! Always happy to see maintenance releases for jQuery, even though it’s rare that I encounter any bugs myself (pretty standard use cases for me over here).

    I happened to notice that NetBeans is warning (in the minimized version) of possibly redefined variables (if x=y instead of if x==y). Is that something to look into or is that a known side-effect of the limitation of minimizing + IDE parser?

  2. @Greg, that usually happens with Netbeans. The minified version always gives it trouble. Even the non-minified version has warnings. The biggest complaint I always see in the non-minified version is that some Anonymous functions might not always return a value.

  3. Mark on said:

    Thank you also for #9617. That was only the second time I actually experienced a regression in a release candidate. Someone else had already reported it and the team fixed it. We appreciate you all.

  4. fred on said:

    first of all thanks for the hard work.

    but .attr(‘value’) does not work proper.

    <div class=”test”></div>

    $(‘.test’).val(); is an empty string
    $(‘.test’).attr(‘value’, ‘foo’);
    $(‘.test’).val(); is an empty string

    $(‘.test’).val(); is an empty string
    $(‘.test’).attr(‘value’, ‘foo’);
    $(‘.test’).val(); is foo

  5. daniel on said:


    I see no issue with the extension of the val() function onto non-form elements. The behavior is as one would expect?