Select Element Only if Children are Not Animated

0
0
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)

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.