Given I have an array of \"purpose\" objects:
//array of purpose objects: var purposeObjects = [ {purpose: \"daily\"}, {purpose: \"weekly\"}, {pu
If your array is actually a set of JQuery objects, what about simply using the .filter() method ?
purposeObjects.filter('[purpose="daily"]')