Hi,

i think you can you can use <include> which will return either true or false
depending upon.

I think this one works.

Thanks

On Thu, May 14, 2009 at 12:19 AM, louis w <louiswa...@gmail.com> wrote:

>
> I have an array containing a number of strings. I would like to
> continue exucuting my script only if an item has ANY/ALL of the
> strings assigned as a class name.
>
> $A(['foo', 'bar', 'foob']);
>
> Is there an elegant want to do this without having to loop through the
> items?
> >
>


-- 
Ashis Rai
Sundhara, Kathmandu, Nepal
P.O Box No: 12434

--~--~---------~--~----~------------~-------~--~----~
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-scriptaculous@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
-~----------~----~----~----~------~----~------~--~---

Reply via email to