On 21 May 2008, at 21:33, Justin Perkins wrote:

> This is not a bug with Prototype.
>
> getElementsByClassName is a native JavaScript method in Firefox 3. You
> should use select() or $$() instead.
>
> See the Prototype API for getElementsByClassName:
> http://prototypejs.org/api/element/methods/getElementsByClassName

Or a workaround is to explicitely make it an array:
$A(document.getElementsByClassName(...))


Best regards

Peter De Berdt


--~--~---------~--~----~------------~-------~--~----~
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 rubyonrails-spinoffs@googlegroups.com
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