I have an array called active_filters
which contains objects. Does anyone know how I would be able to access the category
property to use like below?
My goal is the following
// For each active filter, use category for:
$("#" + category).find("input:checked").each(function()
{
// Do something
}
// End for
Active Filters Array
{category: "search-filter-type", id: "data-type", value: "ICAR,SCAR", type: "filtered-out-by-car-type"}
{category: "search-filter-company", id: "data-company", value: "BU", type: "filtered-out-by-company"}
{category: "search-filter-location", id: "data-location", value: "AV-123", type: "filtered-out-by-location"}