ajax for each element code example
Example: loop json jquery
$.map(mapArray, function(val, key) {
alert("Value is :" + val);
alert("key is :" + key);
});
$.map(mapArray, function(val, key) {
alert("Value is :" + val);
alert("key is :" + key);
});