Home › Forums › JavaScript › Only show parent if child contains certain string › Reply To: Only show parent if child contains certain string
April 9, 2016 at 10:37 am
#240344
Shikkediel
Participant
This should be a start with some jQuery :
$('.fs-entry-container').hide().each(function() {
var text = $(this).find('.fs-detail-title:contains("01gm")');
if (text.length) $(this).show();
});