Hi nik,

That's one of the reasons why we created Element#readAttribute ( see:
http://prototypejs.org/api/element/readattribute ).

Note that these questions are usually better answered in the spinoffs
mailing list ( http://groups.google.com/group/rubyonrails-spinoffs ).

Best,

Tobie

On Mar 26, 1:07 am, nik <[EMAIL PROTECTED]> wrote:
> Hello,
> I tried to use
>
> var foo = $$('div.myClass').invoke('getAttribute','id').uniq();
>
> to get a unique list of all ids.
>
> That worked well in FF 2 and Opera 9 but not in IE 6 (I don't tried in
> IE7) So i did it using a workaround with a for-loop. It's a bug? Or am
> I dumb ;)
>
> greetz
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype: Core" 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-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to