I didn't found any specific answer which addresses the below question.
I have the following JSON response fetched through an AJAX POST request.
{
"result":
{
"101010":["PRAVAT","SGSGSG","UKEMP5","UKENTD","WAUK01","MK87UK"],
"202020":["CORA1E","PSASAS","EDCRJS","USHC01","USDR06"],
............................
........................
"304050":["ERCDE2","DELT01","DECGKG","DEHC03","IS02","DEPI01"]
},
"status":"SUCCESS"
}
I want to display the data above data by using a loop in javascript.
I tried for ( var i = 0; i < response.result.length; i++) {
but I am not able to do so.
Please help how can I parse and display my data in the above JSON format using javascript.