You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Great plugin! I'm using it on a list with this markup:
<ul class="filter-results">
<li>
<h2>Title</h2>
<p>Description and stuff.</p>
</li>
<ul>
I'm targeting .filter-results li in the main function call on the page.
Problem is in this scenario both the title and the description are searchable. I want only the title to be searchable.
Changing the JavaScript to target the .searchable class and applying that to only the title <h2> doesn't seem to work - I get blank results (despite the results size variable working correctly).
Surely this is a commonly desired feature? Am I doing something wrong or is this a good enhancement for this plugin?
The text was updated successfully, but these errors were encountered:
Great plugin! I'm using it on a list with this markup:
I'm targeting
.filter-results li
in the main function call on the page.Problem is in this scenario both the title and the description are searchable. I want only the title to be searchable.
Changing the JavaScript to target the
.searchable
class and applying that to only the title<h2>
doesn't seem to work - I get blank results (despite the results size variable working correctly).Surely this is a commonly desired feature? Am I doing something wrong or is this a good enhancement for this plugin?
The text was updated successfully, but these errors were encountered: