$('id-of-form-element').observe('change', function () {// do stuff in here.
});On Fri, Jul 10, 2009 at 3:33 PM, Mathew <[email protected]> wrote: > > I don't see Form.Element.EventObserver in the API doc. Is it > deprecated ? If not could someone provide an example of using this > API. > > Basically the requirement is, if the drop-down list changes its value > dy$()namically, or re-populated dynamically then i need to invoke a > method to populate another form control (another drop-down) > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" 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/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---
