Yehuda Katz is a member of the Ember.js, Ruby on Rails and jQuery Core Teams; his 9-to-5 home is at the startup he founded, Tilde Inc.. There he works on Skylight, the smart profiler for Rails, and does Ember.js consulting. He is best known for his open source work, which also includes Thor and Handlebars. He travels the world doing open source evangelism and web standards work.

jQuery Selector Refcardz

Bear Bibeault (my co-author on jQuery in Action) and I have put together a neat reference card for jQuery selectors that you can get from DZone.

Here’s a blurb they provided:

This reference card puts the power of jQuery selectors at your very fingertips. Written by Bear Bibeault and Yehuda Katz, co-authors of jQuery in Action (Manning Publications), jQuery selectors are one of the most important aspects of the jQuery library. These selectors use familiar CSS syntax to allow page authors to quickly and easily identify any set of page elements to operate upon with the jQuery library methods. Understanding jQuery selectors is the key to using the jQuery library most effectively.

25 Responses to “jQuery Selector Refcardz”

Can someone please post the PDF link here when you get it?
This login wall blows.

Why does DZone even bother asking for all that info on a registration-required site unless they plan on being irresponsible with it. I’ll wait until they can explain themselves or drop all the required fields.

(Sorry for the rant. I’m sure the content is great. BTW, great book, I recommend it to everyone doing Javascript work these days.)

Seriously. They block Mailinator, MailEater, and BugMeNot addresses… including all domain aliases. No way am I giving them info to spam me with. Ridiculous. Give us a real download link.

Indeed, “login wall” registration for reference card is extremely lame and in poor taste…

Sadly, I did not set up the system; I simply contributed to DZone’s refcardz program. I have passed along everyone’s concerns to the appropriate folks. I will let you know if I learn anything further.

[link removed]

Dunno how long this link will last, but there’s a direct one :) I’ll find some place to upload it.

ed. this blog does not condone theft

By the way, the refcard itself (now that I finally found a spam email box that DZone doesn’t block) is really great! Definitely worth printing out and sticking somewhere.


Sadly, I am not the one who produced this refcard, and it is funded by collecting email addresses. That would not necessarily be my business model, but it is theirs.

Please do not post links in the comments of this blog to illicit copies of the refcard.

Sure, I’ll be glad to explain…

DZone is a business.

DZone has produced quality content for years, and we are glad to be able to provide excellent resources like these Refcardz to our members. The secret is something called “sponsorship” which probably benefits you in more ways than you care to admit. Revenue from sponsorships makes it possible for us to fund the creation of quality content. Before you get indignant, think it over. Sponsorship is well-established as a funding model and has often produced good results.

Complaining that you can’t use mailinator or spammenot is like whining that you can’t spend Monopoly money at the grocery store. It is a shrill and empty complaint. You have no “right” to our copyrighted property, and it is not “poor taste” (as some misguided individual above suggests) if we require valid and valuable information in exchange for our valuable property. You can voluntarily choose to exchange value for value if you wish, but please don’t expect us to accept trash and junk in exchange for value. We invested to create good content, and we hope to enjoy reasonable return on our investment.

As I said, DZone is a business.

Sorry, but that’s lame.

If you think you’re going to succeed by pissing off users and delivering a shitty online experience, you’re likely wrong.

To be fair, it may actually work (ebay, craigslist and myspace all blow but are successful), but I can assure you that you’ve lost the users represented here.

And that link was not an “illicit copy”, it was a direct link to the PDF on DZone’s own site. Not redistributed, stolen, or copied.

The information in the file is good, but I think I’ll stick to recommending jQuery’s manual and reference sites that provide information in the free-and-clear. All you’ve managed to do, Rick, is make sure that we never recommend DZone to anyone. (And I have to say I don’t appreciate the nasty accusatory e-mail to my direct address either.)

@Rick Ross,

Your business model must be weak if you rely on collecting job titles, home addresses, phone numbers and emails to stay afloat. Sponsorship is fine but why do you need all this private information? The truth is with a decent business model you don’t need it at all.

I’ll be looking for this refcard from an alternative location, and maybe I’ll be making it available to others who do not wish to give you personal information for no good reason.

Paul, thanks for sharing. Fortunately 50,000 other downloaders so far have not agreed with you, but you are certainly entitled to your opinion. You can fund your own publishing efforts by whatever means you wish, and maybe you’ll come up with something better.

Seth, if you honestly think it was reasonable to post a private download link, then you’re a confused young man.

Rick Ross –

The least you can do is address the people, all with legitimate complaints, without being condescending, patronizing and off-putting. You’ll get a lot more support and understanding without puffing your chest and coming off like a douche … if you don’t agree then “you’re a confused young man” as well.

See? Doesn’t come off so well does it?

I’m off to google reader to remove the DZone RSS subscriptions.

Well, guys, i agree with Rick. Collecting demographic data has value beyond him reselling your names and addresses – which I’m not sure he does. Collecting who you are and what you do does neato things like allowing DZone (and, which got many of the same complaints) to make sure its audience gets what it needs – by identifying the audience.

And he’s right; it’s a business. If you want to pay him money to access his content, perhaps you should suggest that – “Hey, Rick – $5 a month?” – and maybe he’ll set up an alternate login channel for you.

But then again, if you’re giving him $5 a month, you’d better believe you’d have to use a real address. Darn it!

Besides, even if you managed to get him to do something stupid enough as to accept a credit card from a false address, he’d still not have data about who you are – data he needs in order to make sure his site doesn’t suck for you.

Deal with it, is my advice, guys.

We are dealing with it, by deciding to not register for DZone.

I wondered why the hell I hadn’t already registered for DZone, right up to the point that I started registering. I thought I’d check out the comments here to see if I should just suck it up and register. Mr. Ross’ comments sealed my decision.

DZone is welcome to rest their business upon users’ personal information. Hell, Rick is even welcome to his condescending tone. In turn, I’m welcome to ignore them.

This is the most absurd thing I’ve ever seen. It’s common knowledge among rational adults that forcing registration is a dated, deeply stupid strategy. Not only do these jackalopes ask for that, but they ask for a ton of required fields too? Unreal.

Dick Ross, how many of the 50,000 users had names like NunuvyerBizniss and YeuSuck Bawls. Because that’s exactly what I put in your ridiculous form. That and my Spam address, tailored for bottom feeders like your associates.

Sell ads, pal. Sell a service. Do NOT force your users to accept unsolicited crap. Anyone making money with this ‘sponsorship’ nonsense is a hack and an idiot. For every one of those knuckledraggers, there’s 20 times more people who make a living without being parasitic dirt bags.

I’m sorry for being so rude, but I haven’t seen anything like for years and I feel very strongly about it. Seriously, didn’t you get the memo?

Today was the first and last time I go to that silly website. It will fail if you continue your misguided tactics. jQuery rocks. I love that book. You have sullied the names of all involved.

You could always use a fake email =)

its called web developer toolbar which automatically fills in all forms fields. just enter old hotmail address you still have access to and they can then send me stuff to extprofile_address_1 postal code extprofile_post.

thanks for the refcard tho

>> Revenue from sponsorships makes it possible for us to fund the creation of quality content…

Correct me if I am wrong, but isn’t all the content on DZONE contributed?

I got the refcard a couple of weeks ago and have given it some real use. Thanks, Yehuda! Really neat, clear, and also attractive.

Today I found this blog and I thought I would find more on the same line. Instead, I find all this rant about “why does DZone want my personal information???”.

Is it really worth it? I mean, if the business seems legit and the product provided seems good to me, then why not? I mean, they are not asking me to install some suspicious toolbar, to give my credit card info for no good reason, or anything beyond what is to be expected from your usual customer segmentation. I share some info, I get some useful files; win-win. Should I worry of the use they will make of my info? Well, as much as I worry about leaving my suit at the dry-cleaning: there’s always the risk that something might go wrong; it’s up to you to take it or leave it. The web is no different in many respects to the “outside” world.

I find the risk acceptable. If you don’t, don’t get it. I think comments here should be more about the refcard and less about the way it’s being distributed.

I filled in all the stupid fields and was still unable to download. This is one of the worst interfaces I have encountered. Too bad the RefCards looked interesting. Moving on…

Thanks for the refcard Yehuda, coming in handy while I make my way through the book.

@Rick Ross, I think you have really missed the boat here. Every online service today can benefit from sponsorship and collected data, however, every online service gets you in the door with just 4 fields; Username, email, password, password verified.

It’s how you go from there that makes all the difference. What online service do you know that doesn’t allow you to create a profile once you are a member? Tell me you couldn’t scour through twitter users and find 75 % of them have filled in most of the information you are seeking on your login wall. The difference is that they chose to do this because the feel they own the space and that they can “personalize” it.

Your method of 18 required fields of highly personal information (circa 1999) leaves the hair on most peoples necks standing on end. I suggest a simple registration of 4 fields and let the rest take shape at the users will. Either way it shows up in your database at some point. The later method just leaves a better taste in visitors mouths.

For anyone who’s interested I’ve published V2 of a jQuery reference if you want to have a look at that it’s here: I’ll be updating it for 1.3 in a few days.


A year-and-a-half later and DZone is still using this outdated business practice, (although it looks like online newspapers will soon attempt the same).

Looks like I’ll be going elsewhere for the info that’s given in the DZone ref cards. (Thanks Skidoosh).

Leave a Reply