jQuery: The Write Less, Do More JavaScript Library

Blog » jQuery 1.2.1: Quick Fixes for 1.2

Posted September 16th, 2007 by John Resig

jQuery 1.2.1 is a bug fix release for jQuery 1.2. You can view the full list of what was fixed on the bug tracker.


Downloading

jQuery 1.2.1:

If you wish to checkout the full release from the Subversion repository, you can do so by following the following instructions and checking out the source from the following location:

 svn co http://jqueryjs.googlecode.com/svn/tags/1.2.1


Important Changes


Relative Animations

There was a serious error in the API for the new relative animations that caused a conflict with existing animation styles. To resolve this, in order to do a relative animation, you must now use the following syntax:

 $(...).animate({ height: "+=50px", width: "-=20%", fontSize: "+=2em" });

With += meaning “Add to the current position” and -= meaning “Take away from the current position”.


.eq()

Due to some very-persuasive arguments, and a great deal of reconsideration, .eq() has been brought back. A great number of plugins rely on this single method - and the alternative provided by .slice() simply wasn’t as elegant a solution as what was originally provided.


23 Responses to “jQuery 1.2.1: Quick Fixes for 1.2”

  1. jQuery 1.2.1 y los valores relativos | aNieto2K Says:

    […] 1.2.1. que corrige una serie de bugs detectados tras la salida de la reciente 1.2. Compártelo # « Demostración del poder de GoogleGWT […]

  2. jQuery Update, again » Code Candies Says:

    […] Ein Bug in den relative Animationen musste gefixt werden und .eq() ist wieder zurück (das durch .slice() ersetzt werden sollte). Schon sind wir bei jQuery 1.2.1. […]

  3. Dave Says:

    So is the Packer/ActiveX/Flash bug fixed? Or do we have to use the minified version with the patch?
    http://dev.jquery.com/ticket/930

    Also, are you planning on releasing alpha or beta versions in the future? It seems like the day after a major release there’s always an update. It would be nice to have a fully tested / stable version for production environments.

    Great work on everything (including UI - looks very nice)!

  4. Stan Says:

    Thank you for the URI fix in $.ajax().

    Pax.

  5. links for 2007-09-17 « Breyten’s Dev Blog Says:

    […] jQuery 1.2.1: Quick Fixes for 1.2 (tags: uncategorized) […]

  6. jQuery 1.2.1 以及 jQuery UI at Gea-Suan Lin’s BLOG Says:

    […] jQuery 1.2.1 釋出,修正了 這些 bug,官方 Blog 上的公告在這:jQuery 1.2.1: Quick Fixes for 1.2。 […]

  7. John Resig Says:

    @Dave: You should use the minifed version, correct. As far as releases go: In the past we did alpha/beta releases but didn’t get nearly enough feedback. Users simply didn’t want to upgrade their applications to an alpha or beta library. So, instead, we’ve had much better luck drastically improving the quality of the test suite - which has been great in catching nearly all regressions. There were incredibly few regressions - only about 1-2, the rest being weird browser quirks. It was, actually, a rather solid release (IMO).

  8. Dave Says:

    @John: I’m using the minified version and it works great, thanks. Fair enough about the alphas/betas. The releases are generally very solid and the bugs don’t usually effect what I do, but I still like to wait a day or 2 after a big release just to check. Don’t get me wrong - I’m a huge fan of JQuery and it’s saved me hours of coding!

  9. jQuery: New version and UI package : SKFox Blog Says:

    […] John Resig, the creator of jQuery has been going non stop. jQuery 1.2 was released on 10 September to much fanfare by those who follow it, followed by an update to 1.2.1 for bugs and a missing feature. They didn’t stop there though. Immediately afterwards, jQuery UI was released. jQuery UI is a package of user interface widgets that can be combined to create a powerful user interface for the web. […]

  10. jQuery User Interface library released at Clearskys.net blog Says:

    […] I will be taking a serious look at using the UI library in the next myDashboard release. Though this may depend on whether the next WordPress release incorporates the recently released jQuery 1.2.1 […]

  11. Learning jQuery » Animated Scrolling with jQuery 1.2 Says:

    […] Based on feedback from Joel Birch and Oli in the comments below, I’ve changed the code below to take advantage of “relative animations,” using the syntax available in jQuery 1.2.1. My initial tests showed that it’s now working regardless of scroll-bar or font-size adjustments. Here is what it looks like now (not sure if storing the difference in a third variable was necessary, but it felt right to me): PLAIN TEXT JavaScript: […]

  12. JavaScript: jQuery 1.2.1 » Wake Up! Says:

    […] jQuery 1.2.1: Quick Fixes for 1.2 […]

  13. jQueryHelp: A community for jQuery coders | Gary Burge Says:

    […] In case you have not been monitoring the jQuery website, the team has released jQuery 1.2.1, a quick bug fix for jQuery 1.2, and the long-awaited jQuery User Interface. […]

  14. Benjamin "balupton" Lupton Says:

    Your jQuery “minified” is said to be 14KB here and on jQuery.com as well, but on the download site (and once downloaded) it is 44KB… Where the smallest is “packed”… was there a typo or was something wrong with the packing?

  15. » Learning jQuery, il libro » Full(o)bloG Says:

    […] Peccato solo che il libro tratti la versione 1.1.x e che con l’1.2.x molte delle API siano cambiate (soprattutto quelle relative al DOM). […]

  16. My Cup of Java - Today’s Top Blog Posts on Java - Powered by SocialRank Says:

    […] jQuery: » jQuery 1.2.1: Quick Fixes for 1.2 […]

  17. Grimm Says:

    “missing ; before statement”.

    Which leads to:

    “jQuery is not defined”.

    Not even the starter kit works. I’m not impressed. When will this be fixed?

  18. Micox Says:

    Bug using new jquery 1.2.1 and plugin interface/dragable in Internet explorer.
    Second dragg dont function :(

  19. what.is my ip address Says:

    Where I can download the docs?

  20. Sam Says:

    Link to article on Gzipping doesn’t work. Should be http://www.julienlecomte.net/blog/2007/08/13/

  21. William from Lagos Says:

    This release breaks the slideUp and slideDown effects in Firefox

  22. jQuery 1.2.1: Quick Fixes for 1.2 | Development Feeds Says:

    […] Visit Original: jQuery 1.2.1: Quick Fixes for 1.2 […]

  23. LỊCH SỬ HÌNH THÀNH VÀ PHÁT TRIỂN CỦA JQUERY : BLOG THIẾT KẾ WEB Says:

    […] September 17th, 2007 New user interface library for jQuery: jQuery UI: Interactions and Widgets September 16th, 2007 Bug fix for jQuery 1.2: jQuery 1.2.1: Quick Fixes for 1.2 September 10th, 2007 jQuery 1.2 released: jQuery 1.2: jQuery.extend(”Awesome”) [edit] August […]

Leave a Reply