Displaying 1 result from an estimated 1 matches for "camsoft".
Did you mean:
jamsoft
2007 Jun 09
4
Prototype Question
I''m trying to apply a css class to all LI elements that are children
of an element with the ID "idSelector".
This is what I did and it works. But I was wondering if there was an
easier way without having to use an anonymous function?
$$("#idSelector li").each(function()
{ arguments[0].addClassName("myClass") });
Thanks in advance.