$.ajax({ async: false, type: \"POST\", url: url+\"module/listing/\"+projectId, data: \"ajax=true\", success: function(response) { $.each(resp
Try this one, worked for me
$.each(eval(response), function(key, val)
For some reason (which I don't know), response is considered a string and not an object so you have to 'convert it' using eval().
eval()