Hello,

I'm trying to do the following:
$(el).writeAttribute('style', $(elParent).readAttribute('style'));

Everything is going fine until I try to clone the el position
(#clonePosition).

IE throws the error: 'style' is null or not an object on line 2271
(#Element.Methods.getStyle).

The strange thing is when I look at the DOM, the el element has an
_undefined_ attribute with the previous copied style. IMHO this lead
to the mentionned error.

Is this a bug or the _standard_ behaviour of IE?

Thanks in advance.

[Prototype version 1.6.0.2]
--~--~---------~--~----~------------~-------~--~----~
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 
prototype-core-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to