Forgot to mention that the snippet is based on event delegation (you
could check for className of event.element() in a handler). That
should make it fast and element independent : )

- kangax

On Apr 19, 12:45 pm, Walter Lee Davis <[EMAIL PROTECTED]> wrote:
> Three little words: Oh. My. G*d.
>
> Thanks for opening my eyes like this.
>
> Walter
>
> On Apr 19, 2008, at 12:25 PM, kangax wrote:
>
> > document.observe('change', function(e) {
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to rubyonrails-spinoffs@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to