It looks like TJ got you an answer, but do you also realize that there
is a typo in the snippet you posted here?
> hashBrown.length=0 and hashBrown.clear().
> ***hashBown***.each(function(key) {
> hashBrown.unset(key);
> });
hashBown -> hashBrown (missing 'r')
-K
On Oct 20, 10:39 pm, chrysanthe m <[email protected]> wrote:
> Hello
> How do I clear a prototype hash? I have finally tried and failed with below
> after trying hashBrown.length=0 and hashBrown.clear().
> hashBown.each(function(key) {
> hashBrown.unset(key);
> });
--
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.