Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Only show parent if child contains certain string Reply To: Only show parent if child contains certain string

#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();
});

codepen.io/anon/pen/yOpmGY