> $$('#info p.notice').each(Element.hide); > > This will hide all P elements that have a CSS class of "notice" that > are inside > the element with id "info".
I've had problems getting such a thing to work with the $A function (it's my understanding that internally $$ creates an Array object similar to $A). $A([array of elements]).each(Element.hide); IE 6 throws an error. Is something that was recently fixed? I can't remember if I tried it with the latest release or a previous one, so I was just curious if it's safe to try again. Greg _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs