Hi Cédric, For futur enumerables, the Element.addMethods is what you need. See : http://prototypejs.org/api/element/addMethods
For past, you should use the same function but extend manually each object created, because the object are already created with the vision of extension defined at its creation time :(( -- david On 24 sep, 12:26, Cédric Bertolini <[email protected]> wrote: > Hi there, > > I want to add a method to all my Enumerables, past, present and > future. How can I do that? > > Thanks for your time! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
