http://mootools.net/shell/NBa9e/
On Wed, Feb 24, 2010 at 12:18 AM, Sanford Whiteman < [email protected]> wrote: > > I can get it to work if I use the name of the object, but I want it > > to be more dynamic so it can be used as a descriptor given by the > > user. So I wont know what it is. I get the array but try to each or > > getKeys I run into not a function errors. > > I don't really understand the question. > > [{"stuff":[[1,2],[2,3]]}].each(function(obj){ > $H(obj).each(function(arr1,arr1index){ > console.log(arr1); > }); > }); > > iterates over the outer array, then over the next-level object. > > Can you put this in a MooShell to demonstrate what you want? > > -- Sandy > >
