findAll is your filter function. The result from findAll can be iterated using each but I think we really need more information such as a datastructure to actually help you with your problem.
Greets, Johan On Fri, Sep 17, 2010 at 6:15 AM, kstubs <[email protected]> wrote: > How do you chain together findAll and each? I have a Json object > which I would like to filter, and was thinking to findAll, followed by > an each on the findAll results. What is the best approach? > > Thanks, > Karl.. > > -- > 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]<prototype-scriptaculous%[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.
