Thx, it's exactly that I am looking for. About invoke a method while populate the parent, I can't do that, b/c I am creating a library and I don't really want to impose a "contract" to developer that "as long as u want to use this library, when u populate this div, then u must call my that method"
On Fri, Feb 26, 2010 at 12:59 PM, Pranav <pranav.k.moor...@gmail.com> wrote: > Hi, > > The W3C specification - > http://www.w3.org/TR/DOM-Level-3-Events/#dom-event-architecture > is a good place to start although browsers tend to support quite a few > more than these. The Quirks mode listing - > http://www.quirksmode.org/dom/events/ > is probably a lot more useful for your cause. > > The DOMSubtreeModified event is what you are looking for although > that's not supported in IE. One way to workaround it might be to keep > track of the count of the nodes in the parent node > (PeriodicalExecutor) and fire a custom event when that changes. > However, isn't there a way to simply invoke a method when you populate > the parent? > > > On Feb 25, 9:30 pm, green <greenlaw...@gmail.com> wrote: > > Hi > > > > Where can I find a complete list of event names which can be observed by > > relevant element? > > > > Here i have a requirement that once I populate new child in a parent > node, I > > need capture that event. Is there an event already defined for that ? > > > > thx, > > Green > > -- > 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-scriptaculous%2bunsubscr...@googlegroups.com> > . > 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 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.