JSFiddle - React, Tailwind, and code Playground
HTML
<input type="text" id="search"/>
<ul id='list' data-role='listview' data-filter='true' data-inset='false'>
<li id='a1'>
<h3>ABC</h3>
<p>this is ABC</p>
</li>
<li id='a2'>
<h3>DEF</h3>
<p>DEF is not ABC</p>
</li>
</ul>
JavaScript
$("#search").keyup(function(){
var SEARCHWORD = this.value;
$("#list li").each(function(){
if($(this).
find("h3").
text().toUpperCase().
indexOf(SEARCHWORD.toUpperCase()) >=0)
$(this).show();
else
$(this).hide();
});
});