I've understood it :) so will wait for proper event system in IE from now on :)
On Feb 3, 11:59 pm, "T.J. Crowder" <t...@crowdersoftware.com> wrote: > > Now I know that an events bubble up, but I need form elements receive > > an event fiered by a form - so I ask for a help here > > And I need Internet Explorer to conform to standards properly. Doesn't > mean it's going to happen. ;-) > > What you're saying you need doesn't make sense in terms of the DOM's > event mechanism. Basically, you want the standard observer pattern. > That's why Mona pointed you at an alternative means of dispatching > events that isn't tied to the DOM's concept of how they should work. > > -- T.J. > > On Feb 3, 1:22 pm, buda <www...@pochta.ru> wrote: > > > > > Now I know that an events bubble up, but I need form elements receive > > an event fiered by a form - so I ask for a help here > > > On Feb 3, 3:15 pm, Mona Remlawi <mona.reml...@gmail.com> wrote: > > > > 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 > > > athttp://positionabsolute.net/blog/2007/06/event-dispatcher.php > > > > cheers > > > > -- > > > mona > > > > On Wed, Feb 3, 2010 at 2:10 PM, buda <www...@pochta.ru> 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 <colin.f...@pace.com> wrote: > > > > > On Feb 2, 3:29 pm, buda <www...@pochta.ru> 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 > > > > prototype-scriptacul...@googlegroups.com. > > > > To unsubscribe from this group, send email to > > > > prototype-scriptaculous+unsubscr...@googlegroups.com<prototype-scriptaculou > > > > s%2bunsubscr...@googlegroups.com> > > > > . > > > > For more options, visit this group at > > > >http://groups.google.com/group/prototype-scriptaculous?hl=en.-Hidequoted > > > >text - > > > > - Show quoted text -- Hide quoted text - > > - Show quoted text - -- 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-scriptacul...@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.