I need to be able to implement a filter in my jQuery Mobile project, which will allow me to search for a nested list and return all list items that match the text entered in the filter panel. Basically, I need to expand the functionality of the already implemented data filtering function to show results from nested list items, as well as from visible ones. Is there a way to change the behavior of a data filter?
My list is configured as follows. I need to return a list with each source and datasource site (including children) that match the search query.
<ul>
<li class="sitesource">
<ul>
<li class="datasource"></li>
<li class="datasource"></li>
<li class="datasource"></li>
</ul>
</li>
<li class="sitesource">
<ul>
<li class="sitesource">
<ul>
<li class="datasource"></li>
<li class="datasource"></li>
<li class="datasource"></li>
</ul>
</li>
<li class="datasource"></li>
</ul>
</li>
<li class="datasource"></li>
</ul>
, ( pageinit) html- sourceource datasource - , , ?