Bubbling seems like the answer to me.  Put any listeners you need (change,
select, click, etc.) on the form element, and then in your callback, use
event.element() to get the source element.  From there you can look at the
new value.

-Fred

On Tue, Jun 10, 2008 at 10:22 AM, louis w <[EMAIL PROTECTED]> wrote:

> Should I assign a listener to each field? Should I try to get it to
> work with one listener and use bubbling?


-- 
Science answers questions; philosophy questions answers.

--~--~---------~--~----~------------~-------~--~----~
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