Filter multiple <ul> lists with jQuery
问题 I have multiple lists on one page (multiple categories of products) like this: <h3>Category 1</h3> <ul id="category1"> <li>item1</li> <li>item2</li> <li>item3</li> </ul> <h3>Category 2</h3> <ul id="category2"> <li>item27</li> <li>item28</li> </ul> The amount of lists is variable. I would like a filter like on the demo page here http://static.railstips.org/orderedlist/demos/quicksilverjs/jquery.html. But it should search over the different lists. If the user searches for "2" then the result