Hi,

If I create a new element in IE8 RC1 using the syntax:
new Element("a", {'class': 'carrot'});

then an anchor tag is created, but it has its 'className' property set
to carrot. The anchor doesn't gets any of the styling associated with
css class carrot.

If I use the following code, things work fine.

carrot = new Element("a");
carrot.addClassName('carrot');

It looks like an IE8 bug, as it was working in earlier versions of IE,
or is there something wrong with prototype?

Thanks!
-Surendra


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to