Karthik wrote:
> I am getting error in IE Browser for this line
>
> newDivObj.addClassName(
>
> addClassName is not working in IE Browsers including IE 7.0.
>
> Could anyone help me out from this? It works perfectly in Firefox.
>

It's not a bug. You need to extend an element explicitly:

$(newDivObj).addClassName('foo');

Please take a look at FAQ http://proto-scripty.wikidot.com/faq#toc27

> regards
> Karthik.R

--
kangax
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to