Yup.

IE doesn't extend *all* elements the way other browsers do, so you'll  
have to make sure it happens.  Passing the element through $() takes  
care of this, as Prototype makes sure the element is properly  
extended as part of the function.


TAG


On Nov 8, 2007, at 10:04 AM, Alex MacCaw wrote:

>
> We're getting an issue with the latest prototype, IE6 and the function
> addClassName. The error doesn't occur in any other browsers.
> When we call addClassName on an element, IE displays an error 'A
> Runtime Error has occured.' The error msg is: 'Object doesn't support
> this property or method'. One more thing to add; we're calling this
> function on an element we've created via document.createElement. If we
> call it on an element created with the new Element syntax, it works. I
> presume 'new Element' adds extra functions onto the element?
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to