Maybe you can use jQuery's filter method: $(JSONObject).filter(function(){ return this.cactus = 'green' && !this.water; });
On Mar 4, 11:00 pm, Khai <khaitd...@gmail.com> wrote: > I have a collection of DIVs (or a JSON array). Is there a javascript > library that can search through a JSON array and return a collection > of matched elements, and support advanced search with boolean > operator? > > Thanks > Khai