I have a list of jQuery items found using
var groupedItems = $('div[data-group-id="'+groupId+'"]');
Each grouped item has a propery called
data-info={"isAvailable":"true","isValid":"false"}
from the groupedItem I want to filterOut only which has property isAvailable=true.
How can I filter based on data attribute?