$('id-of-form-element').observe('change', function () {// do stuff in here.
});

On Fri, Jul 10, 2009 at 3:33 PM, Mathew <math...@gmail.com> 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 prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to