my json file :
{
"divOne": {
"underOne": [{
"A": "x1",
"B": "y1",
"C": "z1"
},
{
"A": "x2",
"B": "y2",
"C": "z2"
}
],
"underTwo": [{
"A": "x3",
"B": "y3",
"C": "z3"
},
{
"A": "x4",
"B": "y4",
"C": "z4"
}
]
},
"divTwo": {
"underThree": [{
"A": "x5",
"B": "y5",
"C": "z5"
},
{
"A": "x6",
"B": "y6",
"C": "z6"
}
],
"underFour": [{
"A": "x7",
"B": "y7",
"C": "z7"
}, {
"A": "x8",
"B": "y8",
"C": "z8"
}]
}
}
I want to pick "div" and then pick "under". Click button and show results A, B and C in loop.
I really search on google and tried 17 examples but I couldn't find how. I tried use javascript and jquery.