Because the world is better through a filter. At LayerVault, we make heavy use of filtering DOM elements by their data-* attributes. That's because we believe JavaScript is the worst place to keep ...
You can call custom filtering functions if you need logic more complex than simply matching strings. For example, perhaps we'd like to have a 'randomFilter' function that hides/shows rows at random.
Building on the new jQuery extensions for displaying multiple rows, Peter builds a page that retrieves data from a Web Service based on the user's input -- and filters the data in the client as well.