On 10 Jul 2008, at 03:36, jdalton wrote:

> Are you calling document.getElementsByClassName before the dom loads?
> document.getElementsByClassName is deprecated because some browsers
> support it natively and their implementation is different than
> Prototypes. You should use $$() instead and only after the dom loads.

or just do $A(document.getElementsByClassName('classname')), which  
will return an extended element array.

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