Using jquery to filter list
I've got a series of divs generated by a wp_query loop, each loop pulls through an individual post contained in a custom post type. Each div contains a few bits of information - yep this is on wordpress haha.
So we have a page where all of these posts are listed and at the top of the page I have a few dropdown inputs.
I'm trying to use jquery to update the list of divs to only display the ones that contain the information chosen in the dropdowns - ideally running each time the user changes an input.
Demo - just working about with it but this is the gist of it.
Thank you!