Kirby

jQuery multiple filters by class

Hi folks,

I am building an filter option with multiple filters option. I want to filter on classes.
I can’t get it working. I manage to create multiple filters. These filters can also be combined. But if you then adjust/change one of these filters the results do not want to update. See example:

http://jsfiddle.net/Q5DpP/5/

For example:

  • First change filter 1
  • Than change filter 2 (location)
  • If you now change filter 1 again (with filter 2 not changed) it don’t update the results.

Can anybody help me?

Thank you very much!

This is probably better asked on Google or Stackoverflow (since it isnt a Kirby problem), but i think this fiddle is pretty much the answer to what you want…

http://jsfiddle.net/WfNav/

1 Like

Hi @jimbobrjames,

Thanks for your response and help!