loop over ajax get jquery for code example
Example 1: foreach jquery
$( "li" ).each(function( index ) {
console.log( index + ": " + $( this ).text() );
});
Example 2: loop json jquery
$.map(mapArray, function(val, key) {
alert("Value is :" + val);
alert("key is :" + key);
});