Wondering what is the best way to react to field changes and do
something with the field.

i was trying Form.Observer, however it looks like this only gets
passed the serialized contents of the form, not the actual element
which was changed. Am I missing something?

                new Form.Observer($(form), 0.3, function(form, value){
                        console.log(value);
                });

What would you suggest as as the best route? Whenever a field in my
form is changed I want to do some checks based on it's class, so I
need to return the element.

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

Thanks.
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
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