Note to self: use prototype

Gah. I spent far too much time today trying to work around a weird JavaScript bug in Firefox. I had a form that needed to have different hidden parameters depending on the search type in a select list (ahh, the joys of integrating disparate systems). The rewriting worked just fine the first time, but when the user switched back it'd break in a strange way.

Just for relief I tried doing it the Prototype way. Not only was it more readable, logical and shorter, it magically didn't encounter the same bug.

I think it's become time for Prototype to be available throughout the site I work on. I've used it for a few small, targetted applications, and it's wonderful. Time for it to be used everywhere.

First, however, I need to see if I can lazy load it.