Jquery filter with multiple criteria
问题 I am trying to filter a list of restaurant's based on their influences. I would like to use sliders instead of generic categories like Indian/Asian/Mexican/European cuisine. A restaurant could be [{restaurant: {name: 'The Apollon', thumb: 'apollon.jpg', type: [{spicy: 5, type_id: 1} {garlic:3, type_id:2} {expensive:10, type_id:3}]} }] I'd then use a generic JQuery UI slider and pass the value from each slider to a hidden element. Here is where I am utterly stuck though. I can get it to work