[Prototype-core] invoke with getAttribute doesn't work in IE

2008-03-25 Thread nik
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 --~--~-~

[Prototype-core] Re: invoke with getAttribute doesn't work in IE

2008-03-26 Thread nik
Thanks Tobie! I'm sorry, I overlooked this function. Best, nik On 26 Mrz., 03:27, Tobie Langel <[EMAIL PROTECTED]> wrote: > Hi nik, > > That's one of the reasons why we created Element#readAttribute ( > see:http://prototypejs.org/api/element/readattribute). >