I have the following json array:
{"0":
{"ChkSystem":
{"id":"847",
"item":"1",
"fase":"#FE99CC",
"description":"some info.",
"image_path":"",
"pm_id":"461",
"main_systems_id":"1"
}
},
"1":
{"ChkSystem":
{"id":"846",
"item":"1",
"fase":"#FE99CC",
"description":"some data",
"image_path":"",
"pm_id":"461",
"main_systems_id":"2"
}
},
"2":
{"ChkSystem":
{"id":"856",
"item":"2",
"fase":"#FE99CC",
"description":"some data.",
"image_path":"",
"pm_id":"461",
"main_systems_id":"2"
}
}
}
How can I filter it by "main_systems_id"
with jquery?
The problem is the key is variable ("0"
, "1"
and so on) and in other posts that I had read that key is always the same.
Thanks in advance for your answers.