Re: [Proto-Scripty] chain findall each

2010-09-17 Thread Johan Arensman
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 kst...@gmail.com 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
 prototype-scriptacul...@googlegroups.com.
 To unsubscribe from this group, send email to
 prototype-scriptaculous+unsubscr...@googlegroups.comprototype-scriptaculous%2bunsubscr...@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.



[Proto-Scripty] chain findall each

2010-09-16 Thread kstubs
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 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.