Showing posts with label filter. Show all posts
Showing posts with label filter. Show all posts

Thursday, April 5, 2012

jQuery - filter element based on .data() key/value


Say I have 4 div elements with class .navlink , which, when clicked, use .data() to set a key called 'selected' , to a value of true :

Thursday, January 12, 2012

How to use keywords to filter a JSON array object?


I am trying to find a way to take an array of keywords that are user createda and filter a JSON array, and have the results appended to the screen.

Filter array in PHP using keywords?


What could I add to the following code to filter the returned results using keywords in an array?