[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).
>
> 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 prototype-core@googlegroups.com
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
-~--~~~~--~~--~--~---



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

2008-03-25 Thread Tobie Langel

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 prototype-core@googlegroups.com
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
-~--~~~~--~~--~--~---