How about

        $$("xxx").invoke('hide')

--
Jonathan Rosenberg
Founder & Executive Director
Tabby's Place
http://www.tabbysplace.org


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Ran Berenfeld
Sent: Tuesday, April 20, 2010 1:23 AM
To: Prototype & script.aculo.us
Subject: [Proto-Scripty] Another help with $$ needed


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


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

Reply via email to