Do you get tired of passing the :loading and :complete options to your link_to_remote’s? Me too. I usually keep some sort of ‘loading’ .gif in my layout somewhere, and set it to show/hide on each ajax call. I stumbled upon a solution using event:Selectors the other day, and it worked like a charm. You may be able to register ajax responders directly in your prototype.js file, but from past experience I’ve found eventselectors.js to be useful, so having it handy isn’t so bad.








Recent Comments
There’s a new one for you. Can’t believe I stumbled ...
@Ryan, @Nick – well, I’m glad I’ve been of help, ...
Ha! Yeah, it is a little awkward. Good thing I don’t actually...
While your explanation is sound, I cannot bear the hear the audible...
I suggest looking into unobtrusive javascript, especially since you...
Update – I found out that my inclusion of jQuery was causing ...
I had something about 20% developed in PHP and got sick of it. It...