Jquery: Hide Parent If Contains Child With Specific Class?
I'm working with the jQuery Tablesorter Filters plugin and I'm trying to hide certain . This is what I'm looking to do: -If contains , this).hasClass('disabled');
}).hide();
});
Solution 2:
$('.tablesorter-filter-row td').each(function(){
if($(this).children('input').hasClass('disabled').length == 0)
{
$(this).children('input').hide();
}
});
Post a Comment for "Jquery: Hide Parent If Contains Child With Specific Class?"