title: Filter categories/sub-categories with jQuery
body: <p>I have a table where each row has a category column and a sub-category column. I need to let the users chose a category to filter, and then only show the sub-categories that are related so they can filter further. I'm thinking it could be a select drop-down list and only show a second drop-down list when sub-categories exist. I've seen some examples that use server-side scripts (such as Remy Sharp's solution <a href="http://remysharp.com/2007/01/20/auto-populating-select-boxes-using-jquery-ajax/" rel="nofollow noreferrer">http://remysharp.com/2007/01/20/auto-populating-select-boxes-using-jquery-ajax/</a>) but I just need strictly a client-side jQuery solution. Anyone have suggestions on the best way to do this or examples of it?</p>