$$('a').each(function(e, i, a){ yourElement.grab(e).appendText((i <
a.length -1) ? ',' : ''); });

I didnt test that yet, but try it out.

On Oct 22, 10:24 pm, "Steve Onnis" <[email protected]> wrote:
> getElements("a").toString()
>
> All yo uwill get though is "object,object,object"
>
> What are you trying to do with them?
>
>
>
> -----Original Message-----
> From: TheIvIaxx [mailto:[email protected]]
> Sent: Friday, 23 October 2009 4:07 PM
> To: MooTools Users
> Subject: [Moo] join a list of elements
>
> If i have an array of 'a' Elements and i would like to join them with
> a ',' resulting in a list of comma separated links on a page.  Is
> there a quick way to do this in mootools?
>
> Thanks

Reply via email to