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