For what it's worth, I may have been wrong when I said it returns a node list. I was thinking of getElementsByTagName

getElementsByClassName comes with prototype (and other libs) and would probably return an Array.

Louis, what version of prototype are you running? Any other JS libs that may be conflicting in some way?

-Matt

On Mar 16, 2006, at 1:41 PM, Ryan Gahl wrote:

Yea, each is awesome... are you able to use it with a regular array (not
a nodeList). Might be worth just testing that to make sure something's
not wrong with your prototype lib... (I'm not sure if I've ever tried it
with a nodeList or not, but am surprised if it really just won't
work...)

The information transmitted in this electronic mail is intended only for the person or entity to which it is addressed and may contain confidential,
proprietary, and/or privileged material.  Any review, retransmission,
dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and
delete the material from all computers.

_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to