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 <bertolini.ced...@gmail.com> 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 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