hello buda, as T.J. Crowder mentioned above, firing an event means that the event is going to fire *up* the DOM. so it's only natural that firing an event in the <form> level won't get captured by one of its children.
so for the sake of this discussion, what you really need is an event dispatcher/register mechanism and for that, i advise you to take a look at http://positionabsolute.net/blog/2007/06/event-dispatcher.php cheers -- mona On Wed, Feb 3, 2010 at 2:10 PM, buda <[email protected]> wrote: > thats it, but if form1 fires an event 'form:updated' - input element > never receives that event, but I need it > > On Feb 3, 3:05 pm, ColinFine <[email protected]> wrote: > > On Feb 2, 3:29 pm, buda <[email protected]> wrote: > > > > > I need to receive message fired by form in forms element > > > > If you mean that you want the input element to observe the user- > > defined event, > > > > form1.select('input').invokde('observe', 'form:updated', > > function ... ); > > > > If that's not what you mean, I don't understand. > > -- > 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]<prototype-scriptaculous%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/prototype-scriptaculous?hl=en. > > -- 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.
