What you are looking for is
http://api.prototypejs.org/language/enumerable/prototype/invoke/

Sent from my iPad

On Apr 19, 2010, at 10:23 PM, Ran Berenfeld <berenfeld...@gmail.com> wrote:

> Hello
> Is there a way to do something like $$("xxx").hide()  ?
> (instead of iteration over the array)
> i.e "extend" the Array JS object with some more functions ? I have
> many places
> that are doing the same thing (iterating on the array to call a
> method)
>
> --
> 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.
>

-- 
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.

Reply via email to