On Monday 17 April 2006 12:37, Gregory Hill wrote: > Isn't the difference that the scriptaculous one only gets child nodes > from the node you specify, whereas the prototype one gets all in the > entire document?
the prototype one allows you to pass in an element to start with: document.getElementsByClassName('foo', 'bar'); will return all of the elements descending from the element with the id of bar. -Jeremy -- Jeremy Kitchen ++ [EMAIL PROTECTED] In the beginning was The Word and The Word was Content-type: text/plain -- The Word of Bob. And the lord said unto John; Come forth and receive eternal life. John came fifth and won a toaster.
pgpxTcmfPF0Oa.pgp
Description: PGP signature
_______________________________________________ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs