RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: Nami-Doc
It's actually slower (Sizzle uses document.getElementById when you do $('#..'), actually). Your solution is a good idea when you have multiple links, but just having one makes the id a better approach.
Very nice episode !