Click to See Complete Forum and Search --> : size of associative array / object thingy


AtomicPenguin
01-11-2003, 02:55 PM
Here's a basic question which I keep whacking my head against:

say you have an array like this:

var buttonList = {
"one": ['a', 'b'],
"two": ['a', 'b'],
...
}

How do you get the number of "rows"? i.e. elements.

I guess it's kind of a quasi-object, really... hmmm.

AtomicPenguin
01-11-2003, 05:20 PM
Thanks Dave! :)