you could build a filter function and iterate over the elements child
nodes.
var filter = function(ele){
return ele.nodeType == 1 && $
(ele).hasClassName(".active");
};
$A(ele.childNodes).findAll(filter);
On Dec 22, 5:16 am, Tobie Langel <[EMAIL PROTECTED]> wrote:
> "childElements" more precisely.
>
> Element#children is a native Safari method.
>
> On Dec 22, 6:27 am, kangax <[EMAIL PROTECTED]> wrote:
>
> > "immediateDescendants" are already aliased as "children" afaik : )
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---