var myChildrenBehave = $(".element").filter(function() {
var filtered = $(this).children().not(":animated");
return filtered;
});
This selects the element only if its children behave (not being animated). Very helpful on a drop down menu (on hover or click)
Thanks, very helpful!
It also learned me how the .filter() with a function.