December 11, 2006

Posted by John

Older: Pimping Find

Newer: Two Really Handy Textmate Shortcuts

Speeding Up Prototype's $ Function

This is completely not relevant so I took it down. Don’t want to steer anyone wrong.

4 Comments

  1. Matt Williams Matt Williams

    Dec 12, 2006

    The only possible drawback I can think of might be where you are dynamically creating and destroying elements on the fly. I’m speaking off the cuff; I’ve not tested it as yet. Otherwise, this is a really neat idea. Thanks!

  2. I thought about that too. For my purposes, I’m not destroying and recreating the same element and I haven’t tested it yet. If I get a chance I will or if anyone else does, let me know and I’ll fix it.

  3. BEN JOHNSON BEN JOHNSON

    Feb 19, 2007

    When I add this script into my application.js file I get results is not a function. For some reason this is not working for me, especially since it’s a simple copy and paste. I am using rails edge, if that helps.

  4. @Ben – Just including the javascript gives you the error or how are you trying to use it?

Sorry, comments are closed for this article to ease the burden of pruning spam.

About

Authored by John Nunemaker (Noo-neh-maker), a programmer who has fallen deeply in love with Ruby. Learn More.

Projects

Flipper
Release your software more often with fewer problems.
Flip your features.