So if you had a hash of N length and you wanted to end up with a hash
with no members? You could try setting its length to 0. Not sure if
that works, but it would be the first thing I would try.
Walter
On Mar 29, 2010, at 2:26 PM, chrysanthe m wrote:
Hello
I am sure this is documented somewhere, I have googled and looked at
the api
however it is still unclear. How can I zero our all the keys/values
of a
prototype hash without iterating over it? Sorry if it is
documented, I
couldn't find an api faq. tia.
--
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
.
--
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.