Blog » jQuery Birthday: 1.1, New Site, New Docs
Posted January 14th, 2007 by John ResigGreat news, everyone! Today is jQuery’s 1 Year “Birthday”! (I released it 1 year ago, today, at BarCamp New York City) In celebration, we’ve got a bunch of stuff for you to enjoy.
1) jQuery 1.1
This is a great release - tons of bug fixes, huge speed improvements, and a big simplification of the outstanding API. It is highly recommend that you upgrade to get all the benefits of this release.
Download Now:
- jQuery 1.1
- jQuery 1.1 Compressed
- jQuery 1.1 - All Code, Docs, and Tests
- jQuery 1.1 - Build Your Own Copy of jQuery
Upgrade Guide:
Please read through these guides before upgrading from 1.0.4 to 1.1 - a number of API changes have been made, and these guides detail how to work through them, and how to use the new jQuery 1.0 Compatibility Plugin to keep 1.0-style functionality in 1.1.
New Features:
- By all of our counts, jQuery 1.1’s selectors are 10x-20x faster than those in jQuery 1.0.4. This should provide a noticable difference in your jQuery applications.
- Common selectors like div#id, div .class, td:nth-child(1), and div > div are all significantly faster. It’s a complete world of difference. Try them out and you’ll see.
- You can now pass in a function as a value for an attribute or a css property. The function is executed and its return value is set as the value for the property. For example:
// 1.0 Code $("a").each(function(){ $(this).attr("href", "/item/" + this.id); }).show(); // 1.1 Code $("a").attr("href", function(){ return "/item/" + this.id; }).show(); - You can now unbind an event handler from within itself. This allows you to have event handlers that are only bound for a specific number of executions, for example:
$("button").click(function(e){ // Unbind the event handler if a specific form is hidden if ( $("#submitForm").is(":hidden") ) { $(this).unbind( e ); } }); - Easily bind an event that will only occur once (this replaces the old .oneclick() functionality):
// Show a thank you message for a form submission, but only once $("form").one("submit",function(){ $("#thankyou").show(); }); - You can now set the text value of an element (this is different from .html(), where in .text() all HTML is displayed as text).
$("pre").text("<b>Hello</b>, how are you?"); // Result: <pre><b>Hello</b>, how are you?</pre> - You can now build your own filters, using a custom function. (This was in 1.0, but it wasn’t documented very well.)
// Find all divs whose parent isn't hidden $("div").filter(function(){ return $(this).parent(":hidden").length > 0; }); - You can now pass a comma-separated list of selectors to the following filter functions:
filter, find, not, siblings, parents, children, next, prev. This allows you to do some very cool stuff:// Find all radio buttons, or checkboxes, in a form $("form input").filter(":radio, :checkbox"); // Find the next element that's a span, or a div $(this).next("span, div");
2) Refreshed Web Site Design

The design of the jQuery web site has finally be given a much-needed facelift. This was planned out by the fantastic jQuery Design Team and implemented by Nate Cavanaugh. The design team has a full redesign/restructuring planned, but we wanted something that would help us get from our current design to the complete overhaul. Hope you enjoy it - and be sure to thank Nate, Bradley, or Skye for their job well done!
3) Overhauled Documentation
A big point that we’ve been working with, lately, was to really pull together and categorize the jQuery Documentation, Tutorials, and API into one centralized location. The result of this effort is the new:
http://docs.jquery.com/
All jQuery documentation can be found in this one, central, location - making it easier for you to find what you need and get your work done faster. We hope you enjoy this new structuring, please let us know if you have any suggestions for what we can add to make it better.
4) A Secret…
We’ve been holding this one back a while, but we’re finally ready to let it go… There’s a jQuery Book in the works! An excited publisher has stepped up, and the authors are already a quarter of the way complete. There’s still some details in the works, and we’re going to tell all once its getting nearer to completion, but right now it’s looking like we’re going to have a late-Spring/early-Summer release of the first jQuery book!

I hope you enjoy everything - a lot of time and effort has really gone into making this release great. Be sure to thank everyone on the jQuery Team, they’ve put a lot of time and effort into making this release come out really good.
I’ll be doing a “State of the Query” post tomorrow, to talk about where jQuery has come during this past year, and the evangelism team will be doing a couple blog posts about what you can do with the new jQuery 1.1.
Thank you, everyone, for making this a fantastic first year for jQuery.
January 14th, 2007 at 9:42 pm
Congratulations to the whole team! As a user and lover of jQuery I am very grateful for all the hard work you guys have put in. Thanks so much!
January 14th, 2007 at 10:04 pm
Congrats, John! Thanks for this fantastic library. Thanks also to all of the other developers who helped make this 1.1 release happen.
January 14th, 2007 at 10:22 pm
Congratulations!
January 14th, 2007 at 10:28 pm
Thanks so much to the jQuery team for their amazing work and also to the entire community for all the support given to each other throughout the last year. You are all so loveable!
Oh, and… OMG a book! Awesome.
January 14th, 2007 at 10:38 pm
To John et al..
Congratulations…Job well done indeed!, Cheers c”,)
January 14th, 2007 at 10:39 pm
[…] It’s jQuery’s first birthday, and John Resig and the development team are celebrating in style with a brand new release of jQuery! […]
January 14th, 2007 at 10:43 pm
I was doing some jQuery work tonight and the new documentation is like a breathe of fresh air… nicely done.
January 14th, 2007 at 10:45 pm
Very Cool!!!!!!!!!!
I am a jQuery super Fans!!!!
It is useful for my design of webcode!
Thanks jQuery Design Team !!!! Your are great !
January 14th, 2007 at 10:52 pm
Congratulations from a China Programmer! Thanks for the great project.
January 14th, 2007 at 10:56 pm
very nice job john! i couldnt live without jquery!
also, the engrish in the post above is awesome!
January 14th, 2007 at 10:58 pm
Happy Birthday!
1.1 rocks!
January 14th, 2007 at 11:07 pm
Happy Birthday jQuery and congrats to John & the team for the tremendous effort in getting v1.1 launched. Awesome job guys!
January 14th, 2007 at 11:17 pm
Happy Birthday! I love 1.1, I’ve been using svn for some time and it is great. The new website and doc are awesome also. Kudos to all involved.
January 14th, 2007 at 11:25 pm
Looks awesome. Congratulations!
I hope it captures the imagination of the world the way it has mine.
One little crit: The main site looks kinda messed up on my IE7 WinXP SP2.
January 14th, 2007 at 11:35 pm
Website background images all disappear onload in ff2 for me. Actually loads at first but says it is still getting something from quantserv and when the page finishes loading that and google analytics, the background suddenly all disappears!
January 14th, 2007 at 11:39 pm
Ooops, sorry, I just realized I had an old greasemonkey script to change the old site white so it was readable. Fine now after removed.
Still, whatever it is fetching from quantserve is taking ages to load, maybe 10 seconds extra..
January 15th, 2007 at 12:44 am
Congratulations!
i love it.
January 15th, 2007 at 1:28 am
[…] jQuery 1.1 was released today (happy birthday jQuery!!) and with it came, among many other things, massive (we’re talking 10x-20x, according to John) speed increases in the selection engine. So, as I promised, here is the selector speed information I discussed in my previous post updated for jQuery 1.1: […]
January 15th, 2007 at 2:01 am
Congratulations !
Thanks jQuery Team ^_^
January 15th, 2007 at 2:41 am
Congrats on the 1.1 release! I’m having a little trouble navigating the new site. Links like dev/recent/ and dev/bugs are no longer on the footer menu.
January 15th, 2007 at 2:50 am
[…] Итак, jQuery выпустила версию 1.1. Новая версия. Новый сайт, новая документация. Ещё не разбирался, но обязательно поковыряю и поделюсь впечатлением. Правда ребята обещали 14 числа выдать эту версию, до 23 по Лондону я проверял сайт, а сейчас вот вижу - таки да, успели Обещают что будет быстрее, и значительно быстрее… […]
January 15th, 2007 at 3:06 am
[…] To make it even more interesting, jQuery has released a new version of the library where api-size and speed has been the main focuses, but it still doesnt match DomQuerys speed. DomQuery made me start looking into Yahoo UI. Its a good competition benefitting all of us working with interface development. I am sure the jQuery community will make the best out of this competition. There is already a debate between John Resig and Jack Slocum about the results and how to interpret them. […]
January 15th, 2007 at 3:17 am
Congratulations! I really like to use jQuery and I want to thank you all for the great work you are doing.
January 15th, 2007 at 3:51 am
Congratilations, you’ve done a lot for one year - build the excellent jQuery and build the excellent community around it. This library made my life easier.
January 15th, 2007 at 4:12 am
Congratulation to John and the dev team. The new design looks very professional.
January 15th, 2007 at 4:41 am
[…] John Resig hat die beliebte kleine JavaScript-Library wieder überarbeitet und stellt zum heutigen Geburtstag von jQuery die Version 1.1 bereit. Neben den obligatorischen Bugfixes, wurde die Geschwindigkeit in der Abarbeitung teilweise drastisch erhöht. Vergleichen kann man diesen Geschwindigkeitszuwachs beim jQuery Speed-Test. […]
January 15th, 2007 at 5:55 am
Congratulations - and thanks to all for jQuery.
January 15th, 2007 at 6:03 am
Digg this!
January 15th, 2007 at 8:09 am
Could someone translate the book into German, as soon as it is published, please?
January 15th, 2007 at 8:10 am
Doesn’t jQuery have some high profile users? Technorati for instance? Why not put some testimonials on your front page to help beef up your image?
Oh and happy birthday.
January 15th, 2007 at 8:12 am
[…] jQuery is celebrating, the new 1.1 release and the 1 year birthday. Go and visit their new website and see what great adjustments have been made to jQuery. […]
January 15th, 2007 at 8:19 am
[…] JQuery celebra su primer cumpleaños y lo hace liberando una nueva versión: la 1.1. Las novedades más interesantes: […]
January 15th, 2007 at 8:38 am
Great Work everyone!
Thanks a lot for this phantastic piece of code!
By the way, today, yes, right today, Drupal 5.0 was released, and it uses jQuery as its JavaScript library.
AFAIK, Drupal is now the first bigger CMS that uses jQuery as the offical core js library!
And, surprisingly, today is also Drupal’s 6th birthday!
Seem to have a lot in common, the two
January 15th, 2007 at 8:44 am
[…] Foi lançada ontem a versão 1.1 da jQuery. Além das novidades que eu já havia citado no artigo sobre a versão 1.1a, o site foi redesenhado, a documentação reorganizada, e um livro sobre a jQuery está sendo escrito. […]
January 15th, 2007 at 10:03 am
@Dean: Its coming.
)
January 15th, 2007 at 10:41 am
[…] presentación de la documentación permitiendo la busqueda en ella de forma más clara y cómoda. # « El iphone de 30Kg. […]
January 15th, 2007 at 10:59 am
Viva la JQUERY! Good work guys! The book sounds great and I’ll make sure to include the 1.1 release announcement in this weeks Juxtaviews roundup. Rock n roll!
January 15th, 2007 at 11:44 am
Congratulations!
Thanks to everyone for developing this fantastic tool.
January 15th, 2007 at 11:56 am
[…] Das Javascript-Framework jquery hatte gestern Geburtstag. Zum ersten (!) Geburtstag schenken sich die Entwickler selber eine überarbeitete, verschlankte neue Version die die Nummer “1.1″ trägt. Doch nicht nur die neue Version schenken sie sich selber, auch die beiden Dokus [1,2] wurden erneuert. Mal schauen, wann das neue “Visual jquery Magazin” herauskommt. Es sollte ja häufig erscheinen, tat dies aber nur einmal. Ein eigenes Buch ist allerdings für den Frühsommer angekündigt. Ich bin sehr gespannt. […]
January 15th, 2007 at 12:08 pm
Nice one! Thank you very much!
I got some questions though.. I ran the speed test, here are four results:
body -> old: 0.2ms -> new: 0ms
#speech5 -> old: 0.2ms -> new: 0ms
div #speech5 -> old: 10ms -> new: 45.8ms
#scene1 #speech1 -> old: 0.4ms -> new: 3ms
How comes the first two results show only a small difference and why do the last two results are so much slower?!
January 15th, 2007 at 12:13 pm
Way to go guys! This is truely awesome! How many other JS/Ajax libraries out there can boast about getting a book published all about their library? W00T!
Sweet job *everyone*!
January 15th, 2007 at 12:39 pm
@Dominik: The problem is that contextual ID-searching is an expensive operation. Pre-1.1, all #foo searches were just doing document.getElementById() (which is really fast, but quite wrong). In order to make it right, you have to traverse through all descendant elements to find the element that has a specific ID. It’s slower, but at least right. (And this only effects selectors like “div #foo” or “#foo #bar”)
January 15th, 2007 at 2:18 pm
[…] jquery.com/blog/2007/01/14/jquery-birthday-11-new-site-new-docs/ […]
January 15th, 2007 at 4:11 pm
[…] John Resig and team have released jQuery 1.1 which includes a speed upgrade, an updated API, a new homepage, and new documentation including a book in the works. […]
January 15th, 2007 at 4:11 pm
Congrats,
What’s next for jquery? What new things can we look forward to?
I’d like to see a jquery-lite.. Let’s face it, claiming that the library is small is no longer true, (uncompressed counts). I want a compressed version under 10kb
January 15th, 2007 at 4:21 pm
Very cool. I’ve been following jQuery since you did a session at BarCampBoston. I’ll be using it in an upcoming client site. Thanks for all the good work.
January 15th, 2007 at 4:46 pm
great! cant wait to implement this
January 15th, 2007 at 4:52 pm
Wow, I hope the book goes well, and thanks for jQuery!
January 15th, 2007 at 4:55 pm
Okay, i just plugged in the new release with the compatibility plugin to try it out
And the new selectors are so fast, this is great
January 15th, 2007 at 5:02 pm
thanks for jquery 1.1.
the redesign of the website is crap, sorry. what a waste of time.
January 15th, 2007 at 5:45 pm
@sehmaschine: Hmm. I’m sure you’re seeing some things that aren’t great from your perspective so what I’d like to ask is if you could email the list with suggestions on how to improve the site. Please keep in mind that this whole project is based on volunteer contributions so if you’d like to improve the site, we’re always willing to accept the help. Thanks.
January 15th, 2007 at 5:47 pm
@sehmaschine: Here’s the link to the web design team’s list:
http://jquery.com/mailman/listinfo/web_jquery.com
We look forward to your suggestions and contributions. Thanks again for your help.
January 15th, 2007 at 6:37 pm
Well done guys! Everyone who help program jQuery really deserves a massive thank you. You’ve done an amazing job at creating something simple and beutiful that is free for anyone to use.
The design team also deserve massive kdos for redesigning the site. It was really letting the side down before
Well done everyone, I’ll continute to give back to you by creating some plugins to help add to the community!
THANK YOU!!!
January 15th, 2007 at 8:05 pm
great work!
I use jquery everyday now.
Thank you
January 15th, 2007 at 9:14 pm
Congratulations!
January 15th, 2007 at 10:07 pm
[…] Autre nouveauté, jQuery 1.1 nous arrive, avec un nouveau site et nouvelle documentation. […]
January 15th, 2007 at 11:08 pm
[…] I take the day off and hit the golf course only to come back and find out that John Resig and gang have launched jQuery 1.1 with a bunch of new improvements, reworked site design for the official jQuery site, and some really sharp jQuery plugins. […]
January 16th, 2007 at 1:24 am
jQuery Team,thanks!!
i expect the first book of JQuery
January 16th, 2007 at 3:18 am
Posted on meneame.net, spanish digg clone : http://jquery.com/blog/2007/01/14/jquery-birthday-11-new-site-new-docs/
Nice work.
January 16th, 2007 at 3:19 am
Ups, missed hiperlink :: http://meneame.net/story/jquery-1.1-publicado
Sorry
January 16th, 2007 at 4:08 am
Congratulations!! to the whole team,
you have done a great job and thanks for sharing the same
good luck a head…..
January 16th, 2007 at 6:23 am
[…] Voor iedereen die nog regelmatig zit te stoeien met CSS, ik kwam deze link tegen die veel bruikbare informatie bevat. Ik wist het grotendeels al maar veelal door trial-and-error. Misschien vertaal ik het wel een keer. Ook voor de Nederlanders een aankondiging dat jQuery jarig is. Om het te vieren is er een nieuwe website, een nieuwe versie (1.1) en het bericht dat er een boek gaat komen. Ook een nieuwe visuele documentatie van jQuery is uit. […]
January 16th, 2007 at 7:47 am
[…] JQuery fa un any de vida i per a celebrar-ho nova versió! […]
January 16th, 2007 at 8:21 am
[…] Die komplete Liste der Neuerungen gibt es hier. Die beliebte Dokumentation Visual jQuery ist ebenfalls bereits auf dem neuesten Stand. […]
January 16th, 2007 at 10:29 am
[…] I’ve been giving some serious thought to updating my jQuery for WordPress plugin to 1.1 (to co-incide with the recently released v1.1 of jQuery), but I’m not so sure. […]
January 16th, 2007 at 11:20 am
New site is nearly really nice. Lose the reflection on jQuery, esp. as it interferes with the tagline. Shinyness for shinyness sake. Other than that, a good job.
January 17th, 2007 at 11:26 am
Thank you!
January 17th, 2007 at 4:42 pm
Nice to hear about the book, I look forward to reading it.
January 17th, 2007 at 8:06 pm
The new site is really good. Except that no background color is set. (I get here gray, but looking at the picture it should be white)
January 18th, 2007 at 4:53 am
[…] jQuery: » jQuery Birthday: 1.1, New Site, New Docs A shiny new version of jQuery has just been released. According to the blog post there have been some massive performance improvements and a simplification of the API. Lovely! (tags: Development javascript jquery Ajax library framework webdev) […]
January 18th, 2007 at 5:41 am
The new site looks great! And I’m looking forward to using jQuery 1.1 and the book.
Congratulations John and thank you (and the development team) for all the time and effort for making jQuery such a nice library to work with.
January 19th, 2007 at 7:44 pm
[…] http://jquery.com/blog/2007/01/14/jquery-birthday-11-new-site-new-docs/ […]
January 21st, 2007 at 6:20 pm
[…] jQuery: » jQuery Birthday: 1.1, New Site, New Docs Today is jQuery’s 1 Year “Birthday”! (I released it 1 year ago, today, at BarCamp New York City) In celebration, we’ve got a bunch of stuff for you to enjoy. (tags: javascript jquery ajax library framework webdev development) […]
January 23rd, 2007 at 1:37 am
made some cheat sheets for jQuery 1.1.x
HTML printable format! 3 layout formats to pick from..ohh….ahh..,enjoy,
http://www.n-bp.com/jquery_cheat_sheet/v11_catalog/
http://www.n-bp.com/jquery_cheat_sheet/v11_catalog_extra/
http://www.n-bp.com/jquery_cheat_sheet/v11_atoz/
January 24th, 2007 at 3:14 pm
[…] jQuery Birthday: 1.1, New Site, New Docs The popular jQuery JavaScript library has reached its 1.1 release, which comes with a slew of improvements both to the library itself and the documentation that goes with it. The 10x-20x speed improvement on selectors makes this an essential upgrade. (tags: javascript software) […]
January 24th, 2007 at 6:37 pm
[…] jQuery Birthday: 1.1, New Site, New Docs The popular jQuery JavaScript library has reached its 1.1 release, which comes with a slew of improvements both to the library itself and the documentation that goes with it. The 10x-20x speed improvement on selectors makes this an essential upgrade. (tags: javascript software) […]
January 26th, 2007 at 5:28 am
About the ‘Refreshed Web Site Design’, you forgoth to set body background color to #fff, it’s the default color of the browser (gray for me at this moment).
January 26th, 2007 at 7:59 am
This is great. Congratulations!!! I am a jQuery fan and am thrilled at the new release. And the book sounds like it will be on my list, hope it is released soon.
February 7th, 2007 at 3:42 pm
[…] jQuery 1.1 Released […]
February 21st, 2007 at 3:47 am
[…] Hace unas semanas, anunciaban en su blog la publicación de la nueva versión 1.1, con unas mejoras de rendimiento espectaculares y algunas nuevas funcionalidades. Este mismo lunes posteaban acerca del acuerdo por el cual JQuery va a poder integrarse con la librería de interfaz EXT. Y hoy mismo leo en su blog que JQuery va a pasar a ser una de las primeras librerías en adherirse al estándar OpenAjax, en la definición del cual están participando, entre otros, Mozilla, IBM, Adobe, Opera… […]
February 22nd, 2007 at 11:46 am
Happy Belated Birthday… Congratulations for all the dev team… Success…
February 27th, 2007 at 7:02 pm
[…] The jQuery project team has just released version 1.1.2 of the JavaScript library. This is a bug-fix version, recommended for everyone. If you are still using a version prior to 1.1, you should be mindful of the API changes (see the jQuery 1.1 announcement for details). If you’re already using version 1.1 or later, you’re in good shape. […]
March 1st, 2007 at 5:58 am
[…] John Resig and team have released jQuery 1.1 which includes a speed upgrade, an updated API, a new homepage, and new documentation including a book in the works. […]
March 26th, 2007 at 6:42 am
[…] For those of you who have been following the jQuery blog the past couple months, you may have noticed John Resig’s mention of a secret: “There’s a jQuery book in the works!” Well, I am thrilled to be able to leak a little more information about that secret. […]
March 26th, 2007 at 6:44 am
[…] For those of you who have been following the jQuery blog the past couple months, you may have noticed John Resig’s mention of a secret: “There’s a jQuery book in the works!” Well, I am thrilled to be able to leak a little more information about that secret. […]