24 ways to impress your friends

Jump to menu

Vote down?

Andi Farr

Great article – I know I’ve been guilty of more than one of these before.

Quick question on the first section – is $(”#id”).find(“p”) not equivalent to using the context attribute – $(“p”, “#id”)? They do the same, but I prefer the syntax of the second – no idea which is more performant, though!