Powershell scripts for Sharepoint 2010
Use $.grep function
var selectedItems = jQuery.grep(items, function (item, index) { return item.someProperty === someValue });
javascript | jQuery | grep | select