Totaly flexible
<input type="text" id="yourSearchElement" />
$('#yourSearchElement').filtr({ target : ".filter-me", // Object to be filterd targetChild : "span", // Child of Object to be filterd ( not required ) caseSensitive : false, // Filter strictly ( true || false , default is false ) invert : false, // Shows non maches ( true || false , default is false ) });
<div class="filter-me"> <p>Mauris blandit aliquet elit, eget tincidunt nibh pulvinar a.</p> <span> 00:00 </span> </div> <div class="filter-me"> <p>Mauris blandit aliquet elit, eget tincidunt nibh pulvinar a.</p> <span> 01:00 </span> </div>