.closest(Array) in jQuery 1.4

A new method signature is slated for jQuery 1.4: .closest(Array). It builds upon the previous .closest() method and hyper-optimizes the logic needed for handling event delegation (and live events). closest() (and by extension, is()) has become a critical function in jQuery. With more people using live events reducing any overhead has become of the utmost […]

29 Comments · Posted: December 18th, 2009

.nodeName Case Sensitivity

When working with the DOM .nodeName property there are two hard-and-fast rules that most people abide by: The node names of HTML elements are always uppercase, even if they’re explicitly created using lowercase characters. <html> will result in a .nodeName === “HTML” (see the HTML 5 draft). The node names of XML elements are always […]

31 Comments · Posted: November 24th, 2009

Deep Tracing of Internet Explorer

After reading a recent post by Steve Souders concerning a free tool called dynaTrace Ajax, I was intrigued. It claimed to provide full tracing analysis of Internet Explorer 6-8 (including JavaScript, rendering, and network traffic). Giving it a try I was very impressed. I tested against a few web sites but got the most interesting […]

141 Comments · Posted: November 17th, 2009

Google Groups is Dead

As far as I’m concerned, Google Groups is dead. For the jQuery project we’ve run all of our community discussions through Google Group mailing lists for the past three years. At this moment the main jQuery group is the second most popular programming group (next to Android developers) clocking in at over 21,000 members. We […]

198 Comments · Posted: October 27th, 2009

Talks at the 2009 jQuery Conference

This past weekend was the 2009 jQuery Conference here in Boston. It was an incredible event – 300 people attended and a ton of discussion, collaboration, and learning happened. Nearly the entire jQuery project team had the opportunity to meet for two days prior to the conference and hash a number of things out – […]

35 Comments · Posted: September 16th, 2009

50% Off Secrets of the JavaScript Ninja

I’ve been slowly working on a new JavaScript book that covers many of the specifics behind how and why JavaScript libraries are designed they way that they are – titled Secrets of the JavaScript Ninja. I’m still working on the book – I have four chapters left to write – and am hoping to have […]

63 Comments · Posted: September 1st, 2009

Test Swarm Alpha Open

TestSwarm, the project that I’ve been working on over the past 6 months, or so, is now open to the public. Mozilla has been very gracious, allowing me to work on this project exclusively. At the beginning of April I moved from my old position as a JavaScript Evangelist on the Mozilla Evangelism team to […]

35 Comments · Posted: August 26th, 2009

Eulogy to _why

Unfortunately I’m short on time at the moment (trying to launch a project this week) but I have to say, at least, a few words about the hacker and artist _why. At this moment, _why’s online presence appears to be no more. All of his sites and code are gone. This includes, and is not […]

65 Comments · Posted: August 19th, 2009

Next entries » · « Previous entries

Secrets of the JavaScript Ninja

Secrets of the JS Ninja

Secret techniques of top JavaScript programmers. Published by Manning.

John Resig Twitter Updates


Infrequent, short, updates and links.