Maybe you can use jQuery's filter method:
$(JSONObject).filter(function(){
return this.cactus = 'green' && !this.water;
});
On Mar 4, 11:00 pm, Khai 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 co
Khai, perhaps this may be useful to you:
http://code.google.com/p/jdatastore/
If you find it excessive, perhaps just the filter method is what
you're after:
http://code.google.com/p/jdatastore/source/browse/trunk/store.js#375
On Mar 5, 4:00 am, Khai wrote:
> I have a collection of DIVs (or a JS
2 matches
Mail list logo