I have a list made of DIV's and an INPUT search box:
<input id="search" type="text">
<div>Caramel Apples</div>
<div>Strawberry Lemonade</div>
<div>Pineapple Cake</div>
<div>Apple Pie</div>
<div>Cherry Ice Cream</div>
While typing in the search box, I want to do a live update to show only those rows that match ALL the search keywords, even if they are partials. If I type "app ca", I should get "Caramel Apples" and "Pineapple Cake".
I have not been able to make the standard jQuery Attribute Contains Selector [name*="value"] work for more than one "value". Multiple Attribute Selector doesn't seem to work either, probably because I am operating on just one attribute, not multiple.
As an added bonus, I also need it to be case-insensitive.
I found a similar question HERE, but it only does an OR filter on the keywords, not an AND. Nor is it dynamic, e.g. keywords being typed in. It may be a good start, but I don't know how to modify it to apply to my situation.